Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001601/0.001602, allocations: 188.5 kB / 16.25 MB, free: 6.633 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 63.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6493, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003644/0.653, allocations: 1.97 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.825, allocations: 153.2 MB / 1.168 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.8253, allocations: 3.938 kB / 1.168 GB, free: 6.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.8255, allocations: 15.86 kB / 1.168 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.826, allocations: 67.53 kB / 1.168 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.827, allocations: 235.4 kB / 1.169 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.8275, allocations: 263.1 kB / 1.169 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.8277, allocations: 72.34 kB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.8308, allocations: 249.9 kB / 1.169 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.8312, allocations: 91.59 kB / 1.169 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.8313, allocations: 20 kB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.832, allocations: 187.7 kB / 1.169 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.8321, allocations: 39.84 kB / 1.17 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.8323, allocations: 99.5 kB / 1.17 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.8331, allocations: 275.2 kB / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8331, allocations: 0 / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8331, allocations: 0 / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.8332, allocations: 0 / 1.17 GB, free: 5.395 MB / 0.92 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.001396/0.8346, allocations: 0.5338 MB / 1.17 GB, free: 4.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.8346, allocations: 12.03 kB / 1.17 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.836, allocations: 83.73 kB / 1.17 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.8365, allocations: 230.6 kB / 1.171 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.8366, allocations: 34.03 kB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.8366, allocations: 20 kB / 1.171 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.8374, allocations: 262.6 kB / 1.171 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8374, allocations: 0 / 1.171 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.8375, allocations: 4 kB / 1.171 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.8375, allocations: 4 kB / 1.171 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.8382, allocations: 172.3 kB / 1.171 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.8407, allocations: 1.188 MB / 1.172 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.8418, allocations: 214.6 kB / 1.173 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.8421, allocations: 68.83 kB / 1.173 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.8422, allocations: 7.922 kB / 1.173 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.8422, allocations: 34.5 kB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 3.416e-06/0.8422, allocations: 0 / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.00388/0.8461, allocations: 0.6301 MB / 1.173 GB, free: 1.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.8462, allocations: 51.41 kB / 1.173 GB, free: 1.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.8466, allocations: 218.9 kB / 1.174 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.8466, allocations: 29.7 kB / 1.174 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.8467, allocations: 132.1 kB / 1.174 GB, free: 1.195 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.8468, allocations: 39.36 kB / 1.174 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.8469, allocations: 53.67 kB / 1.174 GB, free: 1.098 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8471, allocations: 330.8 kB / 1.174 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.8474, allocations: 67.95 kB / 1.174 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.8478, allocations: 138.8 kB / 1.174 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/0.8485, allocations: 202.6 kB / 1.174 GB, free: 328 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8485, allocations: 4 kB / 1.174 GB, free: 324 kB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002175/0.8507, allocations: 374.6 kB / 1.175 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.8507, allocations: 4 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8507, allocations: 4 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.8522, allocations: 161.8 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.8524, allocations: 39.89 kB / 1.175 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.8565, allocations: 3.251 MB / 1.178 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.8569, allocations: 35.77 kB / 1.178 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.857, allocations: 15.98 kB / 1.178 GB, free: 12.13 MB / 0.9356 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.0001378/0.8571, allocations: 133.7 kB / 1.178 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.8572, allocations: 19.75 kB / 1.178 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.8586, allocations: 373.4 kB / 1.179 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8586, allocations: 4 kB / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.8586, allocations: 0 / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8586, allocations: 4 kB / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.8589, allocations: 281.3 kB / 1.179 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.859, allocations: 0 / 1.179 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.8591, allocations: 23.92 kB / 1.179 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008644/0.86, allocations: 141.6 kB / 1.179 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.86, allocations: 4 kB / 1.179 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/0.8639, allocations: 3.298 MB / 1.182 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8639, allocations: 0 / 1.182 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.8653, allocations: 429.7 kB / 1.183 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.8654, allocations: 116.7 kB / 1.183 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.8654, allocations: 8 kB / 1.183 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.8657, allocations: 11.98 kB / 1.183 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.8658, allocations: 19.97 kB / 1.183 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.8658, allocations: 11.94 kB / 1.183 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001798/0.866, allocations: 155.2 kB / 1.183 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.866, allocations: 4 kB / 1.183 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004139/0.8665, allocations: 75.94 kB / 1.183 GB, free: 6.652 MB / 0.9356 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.0001885/0.8666, allocations: 123.1 kB / 1.183 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.8678, allocations: 451.2 kB / 1.184 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8678, allocations: 0 / 1.184 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.8685, allocations: 357.2 kB / 1.184 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.869, allocations: 64.02 kB / 1.184 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.8699, allocations: 490.2 kB / 1.185 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.8702, allocations: 0.7323 MB / 1.185 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.8705, allocations: 33.95 kB / 1.185 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.8705, allocations: 23.42 kB / 1.185 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8705, allocations: 3.938 kB / 1.185 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of Templates: time 0.009645/0.8802, allocations: 5.229 MB / 1.19 GB, free: 15.12 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches