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.01163/0.01163, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.002013/0.002013, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.665/2.665, allocations: 472.7 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.91 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9186/0.9199, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002832/0.9228, allocations: 1.485 MB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.9242, allocations: 0.815 MB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.9243, allocations: 0 / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.9243, allocations: 3.938 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.9244, allocations: 11.94 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.9249, allocations: 127.4 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.925, allocations: 55.84 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.9252, allocations: 15.92 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.9252, allocations: 19.92 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.9253, allocations: 31.91 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.9253, allocations: 7.938 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.9257, allocations: 171.7 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.9257, allocations: 8 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.9258, allocations: 23.86 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.9261, allocations: 148.1 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.9261, allocations: 0 / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9261, allocations: 4 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.9261, allocations: 0 / 1.228 GB, free: 10.58 MB / 0.9512 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.0005855/0.9267, allocations: 402.9 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9267, allocations: 8.031 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.9268, allocations: 4.938 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.9269, allocations: 176.3 kB / 1.229 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.9269, allocations: 384 / 1.229 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.9269, allocations: 4.375 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.9272, allocations: 70.22 kB / 1.229 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9272, allocations: 4.188 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.9272, allocations: 7.938 kB / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9273, allocations: 0 / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.9275, allocations: 67.92 kB / 1.229 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.9279, allocations: 292.6 kB / 1.229 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.9282, allocations: 62.53 kB / 1.23 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.9283, allocations: 32.92 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.9285, allocations: 93.09 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.9285, allocations: 34.56 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.9285, allocations: 4 kB / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.9291, allocations: 133.5 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.9291, allocations: 51.41 kB / 1.23 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.9293, allocations: 121.7 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.9293, allocations: 33.7 kB / 1.23 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.9293, allocations: 92.12 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.9294, allocations: 3.953 kB / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.9294, allocations: 17.72 kB / 1.23 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9296, allocations: 318.8 kB / 1.23 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.9297, allocations: 27.97 kB / 1.23 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.9299, allocations: 39.95 kB / 1.23 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.9301, allocations: 72.67 kB / 1.231 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9301, allocations: 0 / 1.231 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003189/0.9305, allocations: 105.6 kB / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9305, allocations: 5.094 kB / 1.231 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9305, allocations: 0 / 1.231 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9305, allocations: 0 / 1.231 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.9306, allocations: 15.98 kB / 1.231 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9306, allocations: 0 / 1.231 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.9307, allocations: 15.98 kB / 1.231 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.9307, allocations: 0 / 1.231 GB, free: 8.066 MB / 0.9512 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.543e-05/0.9308, allocations: 121.8 kB / 1.231 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.9309, allocations: 4.281 kB / 1.231 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.9312, allocations: 113.4 kB / 1.231 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.9312, allocations: 4 kB / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9313, allocations: 0 / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9313, allocations: 0 / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.9315, allocations: 173.6 kB / 1.231 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.9315, allocations: 4 kB / 1.231 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.9316, allocations: 15.98 kB / 1.231 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9316, allocations: 0 / 1.231 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.9316, allocations: 0 / 1.231 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9316, allocations: 0 / 1.231 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9316, allocations: 0 / 1.231 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.932, allocations: 207.3 kB / 1.231 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.932, allocations: 85 kB / 1.231 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.932, allocations: 0 / 1.231 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.9321, allocations: 11.98 kB / 1.231 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.9322, allocations: 11.92 kB / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.9322, allocations: 4 kB / 1.231 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.222e-05/0.9323, allocations: 91.27 kB / 1.231 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9323, allocations: 4 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002663/0.9326, allocations: 31.88 kB / 1.232 GB, free: 7.094 MB / 0.9512 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.0002307/0.9328, allocations: 131.2 kB / 1.232 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.9331, allocations: 71.91 kB / 1.232 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9332, allocations: 4 kB / 1.232 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.9333, allocations: 35.91 kB / 1.232 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.9336, allocations: 14 kB / 1.232 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.934, allocations: 162.8 kB / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.9343, allocations: 0.6885 MB / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.9343, allocations: 7.984 kB / 1.233 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.9343, allocations: 7.438 kB / 1.233 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.9343, allocations: 0 / 1.233 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of Templates: time 0.004068/0.9384, allocations: 1.372 MB / 1.234 GB, free: 4.559 MB / 0.9512 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/jenkins/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