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.008799/0.008799, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001832/0.001832, allocations: 199.1 kB / 16.67 MB, free: 5.523 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 59.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002645/1.015, allocations: 1.487 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001242/1.017, allocations: 0.8099 MB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/1.017, allocations: 0 / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/1.017, allocations: 3.938 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/1.017, allocations: 15.86 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/1.017, allocations: 127.5 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.969e-05/1.017, allocations: 55.73 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/1.017, allocations: 19.97 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/1.017, allocations: 19.92 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/1.018, allocations: 23.92 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/1.018, allocations: 4 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/1.018, allocations: 171.8 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/1.018, allocations: 11.92 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/1.018, allocations: 19.88 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/1.018, allocations: 149.3 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.018, allocations: 8 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/1.018, allocations: 4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.018, allocations: 0 / 1.211 GB, free: 10.73 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.0005857/1.019, allocations: 395.2 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.019, allocations: 8.031 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/1.019, allocations: 4.938 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/1.019, allocations: 176.2 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.019, allocations: 384 / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/1.019, allocations: 4.375 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/1.019, allocations: 82.14 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.019, allocations: 192 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.019, allocations: 3.938 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.019, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/1.02, allocations: 79.84 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/1.02, allocations: 280.7 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.02, allocations: 54.55 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/1.02, allocations: 48.84 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.021, allocations: 93.09 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/1.021, allocations: 30.56 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.166e-06/1.021, allocations: 3.984 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005232/1.021, allocations: 129.6 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.021, allocations: 51.41 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/1.021, allocations: 117.8 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.021, allocations: 25.7 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/1.022, allocations: 100.1 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/1.022, allocations: 11.83 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/1.022, allocations: 13.72 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.022, allocations: 318.8 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.022, allocations: 39.89 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/1.022, allocations: 31.97 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/1.022, allocations: 68.78 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.022, allocations: 0 / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002894/1.023, allocations: 101.6 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.023, allocations: 4 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.023, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.023, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/1.023, allocations: 19.97 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.023, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/1.023, allocations: 19.89 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/1.023, allocations: 3.938 kB / 1.213 GB, free: 8.207 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 8.84e-05/1.023, allocations: 117.8 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.023, allocations: 0 / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/1.023, allocations: 105.5 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.023, allocations: 8 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.023, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.023, allocations: 3.984 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/1.024, allocations: 169.6 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/1.024, allocations: 0 / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/1.024, allocations: 19.97 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.024, allocations: 0 / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.024, allocations: 0 / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.024, allocations: 3.938 kB / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.024, allocations: 3.938 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/1.024, allocations: 203.3 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/1.024, allocations: 77.11 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/1.024, allocations: 3.984 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.024, allocations: 11.98 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/1.024, allocations: 8.422 kB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/1.024, allocations: 4 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.191e-05/1.024, allocations: 95.64 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 0 / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002837/1.025, allocations: 35.84 kB / 1.214 GB, free: 7.242 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.0002405/1.025, allocations: 130 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003463/1.025, allocations: 75.86 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.025, allocations: 0 / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/1.025, allocations: 44.03 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/1.026, allocations: 11.94 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/1.026, allocations: 159.1 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/1.026, allocations: 0.6807 MB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.307e-05/1.026, allocations: 4 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.027, allocations: 7.438 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of SimCode: time 1.563e-06/1.027, allocations: 0 / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of Templates: time 0.004495/1.031, allocations: 1.375 MB / 1.216 GB, free: 4.715 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/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