Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_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_9_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.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001904/0.001904, allocations: 193.8 kB / 16.14 MB, free: 6.648 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 / 239.8 MB, free: 4.586 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.42/2.42, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9729/0.9745, allocations: 140.4 MB / 0.9489 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003187/0.9777, allocations: 1.55 MB / 0.9504 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.9791, allocations: 0.8285 MB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.9792, allocations: 1.344 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.9793, allocations: 0 / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.9794, allocations: 9.922 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.9799, allocations: 113 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.98, allocations: 52.98 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.9801, allocations: 15.02 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.9802, allocations: 19.48 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.9803, allocations: 18.45 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.9803, allocations: 6.703 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.9807, allocations: 174.9 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.9807, allocations: 11.92 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.9808, allocations: 14.12 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.9811, allocations: 157.7 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9811, allocations: 0 / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9811, allocations: 5.281 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9812, allocations: 0 / 0.9518 GB, free: 6.977 MB / 0.7169 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.0005714/0.9817, allocations: 401.9 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.9818, allocations: 9.219 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.9818, allocations: 7.594 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.9819, allocations: 167.1 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.982, allocations: 9.75 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.982, allocations: 3.156 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.9823, allocations: 82.23 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.9823, allocations: 192 / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.9823, allocations: 7.938 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9823, allocations: 5.438 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.9826, allocations: 65.42 kB / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.983, allocations: 279.4 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.9832, allocations: 62.11 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.9834, allocations: 38.5 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.9836, allocations: 89.78 kB / 0.953 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.9836, allocations: 35.97 kB / 0.953 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.9836, allocations: 4 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000544/0.9842, allocations: 130.8 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.9842, allocations: 51.41 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.9843, allocations: 123.8 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.9843, allocations: 30.92 kB / 0.9533 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.9844, allocations: 86.95 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.9844, allocations: 13.27 kB / 0.9534 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.9844, allocations: 16.22 kB / 0.9534 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.9845, allocations: 315.9 kB / 0.9537 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.9846, allocations: 33.7 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.9848, allocations: 33.44 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.985, allocations: 67.62 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9851, allocations: 0 / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003147/0.9854, allocations: 102.9 kB / 0.954 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.9854, allocations: 4.969 kB / 0.954 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9854, allocations: 0 / 0.954 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9854, allocations: 1.5 kB / 0.954 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.9856, allocations: 21.41 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9856, allocations: 1.344 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.9857, allocations: 14.95 kB / 0.954 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.9857, allocations: 3.938 kB / 0.954 GB, free: 4.852 MB / 0.7169 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 6.14e-05/0.9857, allocations: 117.1 kB / 0.9541 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.9858, allocations: 5.531 kB / 0.9541 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.9861, allocations: 110.2 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9861, allocations: 0 / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9862, allocations: 1.25 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9862, allocations: 48 / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.9863, allocations: 183 kB / 0.9544 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9863, allocations: 4 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.9864, allocations: 22.81 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9864, allocations: 0 / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.9864, allocations: 1.438 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9864, allocations: 0 / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9865, allocations: 0 / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.9868, allocations: 196.9 kB / 0.9546 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.9868, allocations: 83.23 kB / 0.9547 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.9868, allocations: 3.984 kB / 0.9547 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.987, allocations: 11.42 kB / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.987, allocations: 6.188 kB / 0.9547 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.987, allocations: 1.062 kB / 0.9547 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.9871, allocations: 92.05 kB / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9871, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002924/0.9874, allocations: 35.48 kB / 0.9549 GB, free: 4.035 MB / 0.7169 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.0002192/0.9876, allocations: 131.7 kB / 0.955 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.9879, allocations: 66.8 kB / 0.955 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.988, allocations: 4 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.9881, allocations: 37.64 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.9885, allocations: 8.531 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.9888, allocations: 167.9 kB / 0.9553 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.9889, allocations: 0.6815 MB / 0.9559 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.989, allocations: 3 kB / 0.9559 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.989, allocations: 8.625 kB / 0.9559 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.989, allocations: 1.344 kB / 0.9559 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.004087/0.9931, allocations: 1.219 MB / 0.9571 GB, free: 2.395 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches