Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 196.9 kB / 16.53 MB, free: 6.699 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 65.72 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.295, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003434/0.2985, allocations: 1.924 MB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.4517, allocations: 155.4 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.4519, allocations: 4 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.4522, allocations: 27.66 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.4526, allocations: 79.42 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.4533, allocations: 266.3 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.4536, allocations: 263.2 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.4538, allocations: 74.61 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.4551, allocations: 237.4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.4553, allocations: 95.59 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.4553, allocations: 16 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.4557, allocations: 183.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.4558, allocations: 47.83 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.4559, allocations: 91.52 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.4563, allocations: 275.2 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4563, allocations: 4 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4563, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4563, allocations: 4 kB / 1.223 GB, free: 10.83 MB / 0.9825 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.0009166/0.4573, allocations: 0.52 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4573, allocations: 12.03 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008729/0.4582, allocations: 87.7 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.4584, allocations: 227.5 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.4585, allocations: 38.03 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.4586, allocations: 23.94 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.4591, allocations: 254.6 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4591, allocations: 7.938 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.4592, allocations: 12 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4592, allocations: 7.984 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.4596, allocations: 159.8 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.4612, allocations: 1.188 MB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.462, allocations: 206.6 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.4622, allocations: 72.75 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4622, allocations: 4 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.4622, allocations: 38.56 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.4622, allocations: 3.938 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002714/0.465, allocations: 0.6222 MB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.465, allocations: 59.39 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4652, allocations: 211 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4653, allocations: 25.7 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.4654, allocations: 140 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.4654, allocations: 51.31 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.4655, allocations: 49.59 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.4656, allocations: 334.7 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4658, allocations: 67.94 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.4661, allocations: 134.3 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.4665, allocations: 198.7 kB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4665, allocations: 4 kB / 1.228 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001483/0.468, allocations: 377.4 kB / 1.228 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.468, allocations: 4 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4681, allocations: 4.219 kB / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.4692, allocations: 161.5 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4694, allocations: 43.91 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.4732, allocations: 3.246 MB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.4736, allocations: 35.77 kB / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.4736, allocations: 4 kB / 1.232 GB, free: 1.59 MB / 0.9825 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.0001357/0.4738, allocations: 146.3 kB / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.4738, allocations: 19.72 kB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.4752, allocations: 368.2 kB / 1.232 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4752, allocations: 3.938 kB / 1.232 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.4752, allocations: 0 / 1.232 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.4752, allocations: 3.984 kB / 1.232 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.4755, allocations: 281.3 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.4755, allocations: 0 / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.4757, allocations: 23.98 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008359/0.4765, allocations: 141.6 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.4765, allocations: 7.984 kB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.4801, allocations: 3.293 MB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4801, allocations: 4.156 kB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.4814, allocations: 434.2 kB / 1.236 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4816, allocations: 124.7 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4816, allocations: 0 / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.4819, allocations: 15.98 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.482, allocations: 19.92 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.482, allocations: 7.984 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001798/0.4822, allocations: 171.1 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.4822, allocations: 0 / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004236/0.4826, allocations: 68 kB / 1.237 GB, free: 12.09 MB / 0.9981 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.0001734/0.4828, allocations: 111.2 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.4839, allocations: 450.3 kB / 1.237 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4839, allocations: 384 / 1.237 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.4846, allocations: 361.2 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.485, allocations: 51.91 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.486, allocations: 433.1 kB / 1.238 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.4863, allocations: 0.7363 MB / 1.239 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.4865, allocations: 41.95 kB / 1.239 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.4865, allocations: 19.44 kB / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.4865, allocations: 0 / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of Templates: time 0.009659/0.4962, allocations: 5.3 MB / 1.244 GB, free: 4.566 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches