Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 116.5 kB / 16.42 MB, free: 6.445 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.001546/0.001546, allocations: 187 kB / 17.34 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.874, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003461/0.8775, allocations: 1.498 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.879, allocations: 0.7983 MB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.8791, allocations: 4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.8792, allocations: 7.922 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.8792, allocations: 7.875 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.8798, allocations: 127.5 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.8799, allocations: 55.73 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.8801, allocations: 23.97 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.8801, allocations: 19.92 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.8802, allocations: 19.92 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.8802, allocations: 4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.8806, allocations: 171.8 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.8807, allocations: 11.92 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.8807, allocations: 27.86 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.8811, allocations: 149.3 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8811, allocations: 4 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8811, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.8811, allocations: 3.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006694/0.8818, allocations: 399.2 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8818, allocations: 12.03 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.8819, allocations: 4.922 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.882, allocations: 172.2 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.8821, allocations: 4.375 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.8821, allocations: 4.375 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.8824, allocations: 82.12 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8824, allocations: 192 / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.8824, allocations: 7.938 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8824, allocations: 0 / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.8828, allocations: 71.92 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.8832, allocations: 276.7 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.8834, allocations: 62.47 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.8836, allocations: 40.92 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.8838, allocations: 89.17 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.8838, allocations: 34.56 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.8838, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005792/0.8844, allocations: 133.6 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.8845, allocations: 51.41 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.8846, allocations: 113.8 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8846, allocations: 29.7 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.8846, allocations: 100 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.8847, allocations: 7.844 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.8847, allocations: 17.72 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8848, allocations: 318.8 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.885, allocations: 35.95 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.8852, allocations: 27.97 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.8855, allocations: 72.78 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8855, allocations: 4 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003429/0.8858, allocations: 97.56 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8858, allocations: 4 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8859, allocations: 4 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8859, allocations: 7.922 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.886, allocations: 11.98 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.886, allocations: 4 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.8861, allocations: 19.89 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.8861, allocations: 0 / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.8862, allocations: 117.7 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.8863, allocations: 4 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.8867, allocations: 109.8 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8867, allocations: 8.016 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8867, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8867, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.8869, allocations: 169.6 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8869, allocations: 0 / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.887, allocations: 23.91 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.887, allocations: 0 / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.887, allocations: 0 / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.887, allocations: 4 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.887, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.8874, allocations: 199.3 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.8875, allocations: 81.09 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.8875, allocations: 0 / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.8876, allocations: 15.98 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.8877, allocations: 8 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.8877, allocations: 0 / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.8878, allocations: 91.27 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8878, allocations: 0 / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002897/0.8881, allocations: 39.83 kB / 1.214 GB, free: 7.223 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.8883, allocations: 131.1 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.8887, allocations: 71.92 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8887, allocations: 0 / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.8889, allocations: 35.95 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.8892, allocations: 16.7 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.8896, allocations: 180.7 kB / 1.215 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.8899, allocations: 0.6846 MB / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.89, allocations: 7.438 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.89, allocations: 0 / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of Templates: time 0.003365/0.8933, allocations: 1.227 MB / 1.217 GB, free: 4.816 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches