Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001223, allocations: 112.8 kB / 15.99 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001269, allocations: 195.3 kB / 16.91 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.665 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 63.91 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8843/0.886, allocations: 140.3 MB / 0.9498 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003359/0.8894, allocations: 1.969 MB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2019/1.091, allocations: 153.2 MB / 1.101 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/1.092, allocations: 3.938 kB / 1.101 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002611/1.092, allocations: 19.86 kB / 1.101 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005575/1.093, allocations: 67.55 kB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/1.094, allocations: 235.4 kB / 1.102 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004705/1.094, allocations: 267.1 kB / 1.102 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/1.094, allocations: 72.3 kB / 1.102 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/1.097, allocations: 243.1 kB / 1.102 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/1.097, allocations: 95.59 kB / 1.102 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/1.097, allocations: 12 kB / 1.102 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/1.097, allocations: 187.7 kB / 1.102 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/1.097, allocations: 39.89 kB / 1.102 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/1.098, allocations: 95.52 kB / 1.103 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/1.098, allocations: 203.5 kB / 1.103 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.098, allocations: 3.938 kB / 1.103 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.098, allocations: 0 / 1.103 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.098, allocations: 0 / 1.103 GB, free: 4.832 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001161/1.099, allocations: 0.524 MB / 1.103 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.099, allocations: 8.031 kB / 1.103 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/1.1, allocations: 91.62 kB / 1.103 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/1.101, allocations: 222.6 kB / 1.104 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-05/1.101, allocations: 42.03 kB / 1.104 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/1.101, allocations: 16 kB / 1.104 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/1.101, allocations: 266.5 kB / 1.104 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/1.101, allocations: 4 kB / 1.104 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/1.101, allocations: 8 kB / 1.104 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.101, allocations: 4 kB / 1.104 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/1.102, allocations: 175.7 kB / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/1.104, allocations: 1.173 MB / 1.105 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/1.104, allocations: 202.7 kB / 1.105 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/1.105, allocations: 72.75 kB / 1.105 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/1.105, allocations: 4 kB / 1.106 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.105, allocations: 30.56 kB / 1.106 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 3.677e-06/1.105, allocations: 4 kB / 1.106 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.002772/1.107, allocations: 0.6335 MB / 1.106 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/1.108, allocations: 51.41 kB / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/1.108, allocations: 215 kB / 1.106 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/1.108, allocations: 29.7 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/1.108, allocations: 136 kB / 1.107 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/1.108, allocations: 51.34 kB / 1.107 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/1.108, allocations: 45.69 kB / 1.107 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.108, allocations: 330.8 kB / 1.107 GB, free: 220 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/1.108, allocations: 67.95 kB / 1.107 GB, free: 152 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/1.109, allocations: 133.2 kB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/1.109, allocations: 194.7 kB / 1.107 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.109, allocations: 4 kB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00151/1.111, allocations: 378.7 kB / 1.108 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.111, allocations: 5.25 kB / 1.108 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.111, allocations: 4 kB / 1.108 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/1.112, allocations: 165.7 kB / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.112, allocations: 35.97 kB / 1.108 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/1.117, allocations: 3.25 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/1.117, allocations: 35.73 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/1.117, allocations: 7.984 kB / 1.111 GB, free: 11.6 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.118, allocations: 141.6 kB / 1.111 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/1.118, allocations: 23.81 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/1.119, allocations: 374.2 kB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.119, allocations: 0 / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/1.119, allocations: 0 / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.119, allocations: 0 / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/1.119, allocations: 285.3 kB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.119, allocations: 0 / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/1.12, allocations: 23.98 kB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008722/1.12, allocations: 153.6 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/1.12, allocations: 4 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/1.124, allocations: 3.301 MB / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.124, allocations: 128 / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.126, allocations: 432.6 kB / 1.116 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.126, allocations: 120.7 kB / 1.116 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/1.126, allocations: 4 kB / 1.116 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/1.126, allocations: 15.98 kB / 1.116 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/1.126, allocations: 19.97 kB / 1.116 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/1.126, allocations: 4 kB / 1.116 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001968/1.126, allocations: 159.2 kB / 1.116 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/1.126, allocations: 0 / 1.116 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004602/1.127, allocations: 71.94 kB / 1.116 GB, free: 6.098 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/1.127, allocations: 115.2 kB / 1.116 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.128, allocations: 449.5 kB / 1.117 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.128, allocations: 0 / 1.117 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007071/1.129, allocations: 362.3 kB / 1.117 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/1.129, allocations: 55.89 kB / 1.117 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/1.131, allocations: 0.5021 MB / 1.118 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/1.131, allocations: 0.7363 MB / 1.118 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/1.131, allocations: 19.44 kB / 1.118 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/1.131, allocations: 0 / 1.118 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of Templates: time 0.007874/1.139, allocations: 4.413 MB / 1.123 GB, free: 15.36 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches