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 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.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.00136/0.00136, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001416/0.001416, allocations: 190 kB / 17.2 MB, free: 5.59 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.72 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7609, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002623/0.7636, allocations: 1.492 MB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.7647, allocations: 0.8128 MB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.7648, allocations: 1.5 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.7649, allocations: 4.641 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.7649, allocations: 14.16 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.7654, allocations: 134.5 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.7655, allocations: 51.14 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7657, allocations: 12.69 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.7657, allocations: 19.88 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.7658, allocations: 28.38 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.7658, allocations: 4.906 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.7662, allocations: 172.3 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.7662, allocations: 10.92 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.7663, allocations: 24.06 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.7666, allocations: 146.5 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.7666, allocations: 2.516 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7666, allocations: 7.875 kB / 1.086 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7666, allocations: 0 / 1.086 GB, free: 15.78 MB / 0.8419 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.0006228/0.7672, allocations: 392.7 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7673, allocations: 8.812 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.7673, allocations: 9.078 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.7675, allocations: 171.8 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.7675, allocations: 2.062 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.7675, allocations: 2.094 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.7678, allocations: 85.36 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.7678, allocations: 1.078 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.7678, allocations: 3.938 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7679, allocations: 1.406 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.7682, allocations: 68.69 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.7686, allocations: 282.8 kB / 1.087 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.7688, allocations: 59.34 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.769, allocations: 37.98 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.7692, allocations: 93.22 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.7693, allocations: 32.41 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7693, allocations: 0 / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005748/0.7699, allocations: 129.2 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.7699, allocations: 57.17 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.77, allocations: 115.9 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.7701, allocations: 26.89 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.7701, allocations: 95.38 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.7702, allocations: 11.3 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.7702, allocations: 20.69 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7704, allocations: 317.6 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.7705, allocations: 31.75 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.7707, allocations: 31.84 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.771, allocations: 70.94 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.771, allocations: 0 / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003351/0.7713, allocations: 99.38 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7713, allocations: 5.922 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7714, allocations: 4.047 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.7714, allocations: 3.984 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.7715, allocations: 20.86 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7715, allocations: 0 / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.7716, allocations: 20.92 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.7716, allocations: 3.938 kB / 1.088 GB, free: 13.86 MB / 0.8419 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 8.695e-05/0.7717, allocations: 113.3 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.7718, allocations: 6.406 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.7722, allocations: 106.2 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7722, allocations: 1 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7722, allocations: 0 / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7722, allocations: 1.594 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.7724, allocations: 177 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7724, allocations: 0 / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.7725, allocations: 20.06 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7725, allocations: 1.656 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7725, allocations: 4 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7726, allocations: 0.6094 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7726, allocations: 1.406 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.773, allocations: 198.2 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.773, allocations: 79.28 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.773, allocations: 2.453 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7732, allocations: 13.62 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.7732, allocations: 4.125 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.7732, allocations: 2.25 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.457e-05/0.7733, allocations: 95.17 kB / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7733, allocations: 1.219 kB / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003112/0.7736, allocations: 46.86 kB / 1.089 GB, free: 13.12 MB / 0.8419 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.0002301/0.7739, allocations: 130.5 kB / 1.089 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.7743, allocations: 68.3 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7743, allocations: 0 / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.7744, allocations: 38.41 kB / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.7748, allocations: 19.12 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.7752, allocations: 184.4 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.7755, allocations: 0.687 MB / 1.09 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.7756, allocations: 10.73 kB / 1.09 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.7756, allocations: 0 / 1.09 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.00323/0.7788, allocations: 1.212 MB / 1.091 GB, free: 12.02 MB / 0.8419 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=400 -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