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.001304/0.001304, 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.001472/0.001472, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.352 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.599/2.599, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 59.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6802, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004132/0.6844, allocations: 1.915 MB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.8518, allocations: 155.4 MB / 1.171 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.852, allocations: 0 / 1.171 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.8523, allocations: 23.73 kB / 1.171 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.8527, allocations: 83.41 kB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.8535, allocations: 255.1 kB / 1.171 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.8539, allocations: 267.1 kB / 1.171 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.8541, allocations: 68.36 kB / 1.172 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.8554, allocations: 262.1 kB / 1.172 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.8556, allocations: 95.55 kB / 1.172 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.8556, allocations: 16 kB / 1.172 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.856, allocations: 175.8 kB / 1.172 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.8561, allocations: 47.83 kB / 1.172 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.8562, allocations: 87.58 kB / 1.172 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.8567, allocations: 283.1 kB / 1.172 GB, free: 2.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8567, allocations: 8 kB / 1.172 GB, free: 2.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8567, allocations: 4 kB / 1.172 GB, free: 2.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.8568, allocations: 0 / 1.172 GB, free: 2.918 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.001042/0.8578, allocations: 0.5261 MB / 1.173 GB, free: 2.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8579, allocations: 8.031 kB / 1.173 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.8587, allocations: 83.67 kB / 1.173 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.859, allocations: 222.6 kB / 1.173 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.8591, allocations: 46.03 kB / 1.173 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.8591, allocations: 16 kB / 1.173 GB, free: 1.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.8596, allocations: 258.6 kB / 1.174 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.8597, allocations: 0 / 1.174 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.8597, allocations: 8 kB / 1.174 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8597, allocations: 4 kB / 1.174 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.8602, allocations: 171.8 kB / 1.174 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.8618, allocations: 1.184 MB / 1.175 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.8626, allocations: 202.7 kB / 1.175 GB, free: 0 / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.8628, allocations: 68.81 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.8628, allocations: 4 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.8628, allocations: 38.5 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.8628, allocations: 0 / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.002744/0.8656, allocations: 0.6335 MB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.8656, allocations: 51.41 kB / 1.176 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.8659, allocations: 222.9 kB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.866, allocations: 33.64 kB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.8661, allocations: 136 kB / 1.176 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.8661, allocations: 43.36 kB / 1.176 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.8662, allocations: 45.69 kB / 1.176 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8663, allocations: 326.8 kB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.8666, allocations: 71.94 kB / 1.177 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.8669, allocations: 134.7 kB / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.8673, allocations: 202.4 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8673, allocations: 4 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001443/0.8688, allocations: 370.7 kB / 1.177 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8688, allocations: 7.984 kB / 1.177 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8688, allocations: 8.219 kB / 1.177 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.8699, allocations: 157.5 kB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.8702, allocations: 35.95 kB / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.8742, allocations: 3.255 MB / 1.181 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.8746, allocations: 39.67 kB / 1.181 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.8747, allocations: 7.984 kB / 1.181 GB, free: 9.676 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.0001485/0.8748, allocations: 137.8 kB / 1.181 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.8749, allocations: 15.81 kB / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.8762, allocations: 372.3 kB / 1.181 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8762, allocations: 0 / 1.181 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.8762, allocations: 0 / 1.181 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8762, allocations: 0 / 1.181 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.8766, allocations: 285.3 kB / 1.182 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8766, allocations: 3.938 kB / 1.182 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.8768, allocations: 19.98 kB / 1.182 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008586/0.8776, allocations: 145.5 kB / 1.182 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.8776, allocations: 4 kB / 1.182 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.8813, allocations: 3.298 MB / 1.185 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8813, allocations: 4.031 kB / 1.185 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.8826, allocations: 434.5 kB / 1.185 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.8827, allocations: 116.7 kB / 1.186 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.8828, allocations: 4 kB / 1.186 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.8831, allocations: 11.98 kB / 1.186 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.8832, allocations: 19.97 kB / 1.186 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.8832, allocations: 4 kB / 1.186 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002085/0.8834, allocations: 163.2 kB / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.214e-06/0.8834, allocations: 0 / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000472/0.8839, allocations: 75.88 kB / 1.186 GB, free: 4.199 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.0002091/0.8841, allocations: 119.2 kB / 1.186 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.8853, allocations: 445.5 kB / 1.186 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8854, allocations: 8 kB / 1.186 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.8861, allocations: 353.2 kB / 1.187 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.8866, allocations: 71.7 kB / 1.187 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.8876, allocations: 424 kB / 1.187 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.8879, allocations: 0.7363 MB / 1.188 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.8881, allocations: 33.94 kB / 1.188 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.8881, allocations: 23.42 kB / 1.188 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.8882, allocations: 0 / 1.188 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of Templates: time 0.01024/0.8984, allocations: 5.291 MB / 1.193 GB, free: 12.67 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