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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004742/0.004742, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001217/0.001217, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 59.91 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3921, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003206/0.3954, allocations: 1.499 MB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3969, allocations: 0.7988 MB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.397, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.397, allocations: 7.922 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.3972, allocations: 15.86 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.3977, allocations: 131.4 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3978, allocations: 55.84 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3979, allocations: 8 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.398, allocations: 19.92 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.3981, allocations: 31.84 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3981, allocations: 4 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.3985, allocations: 163.8 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.3986, allocations: 19.92 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.3986, allocations: 23.86 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.399, allocations: 151.9 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.399, allocations: 0 / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.399, allocations: 0 / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.399, allocations: 7.938 kB / 1.21 GB, free: 7.27 MB / 0.9669 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.0006467/0.3996, allocations: 395.2 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3997, allocations: 8.625 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3997, allocations: 38.75 kB / 1.211 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.3998, allocations: 0.9375 kB / 1.211 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3999, allocations: 176.2 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3999, allocations: 384 / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.4, allocations: 12.36 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.4002, allocations: 74.2 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4003, allocations: 3.938 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4003, allocations: 0 / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4003, allocations: 0 / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.4006, allocations: 71.92 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.4011, allocations: 288.6 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.4013, allocations: 58.53 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4014, allocations: 40.92 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.4017, allocations: 89.09 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4017, allocations: 30.56 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.4017, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000563/0.4023, allocations: 137.4 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4023, allocations: 59.34 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4025, allocations: 121.6 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.4025, allocations: 25.7 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.4025, allocations: 92.12 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.4026, allocations: 11.91 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.4026, allocations: 13.72 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4028, allocations: 326.8 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4029, allocations: 31.97 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.403, allocations: 27.95 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.4033, allocations: 72.8 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4033, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003255/0.4037, allocations: 109.5 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4037, allocations: 4 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4037, allocations: 8 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4037, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4039, allocations: 11.98 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4039, allocations: 0 / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.404, allocations: 11.98 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.404, allocations: 3.938 kB / 1.212 GB, free: 4.707 MB / 0.9669 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.608e-05/0.4041, allocations: 121.8 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.4041, allocations: 4 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.4045, allocations: 113.4 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4045, allocations: 384 / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4045, allocations: 0 / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4045, allocations: 0 / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.4047, allocations: 181.5 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4047, allocations: 3.984 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.4048, allocations: 19.98 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4048, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.4049, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4049, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4049, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.4052, allocations: 199.4 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.4053, allocations: 88.89 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4053, allocations: 7.938 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4055, allocations: 11.98 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.4055, allocations: 7.984 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.4055, allocations: 0 / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.098e-05/0.4056, allocations: 91.27 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4056, allocations: 0 / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002832/0.4059, allocations: 32 kB / 1.213 GB, free: 3.734 MB / 0.9669 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.0008468/0.4067, allocations: 0.7632 MB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.4071, allocations: 75.86 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4071, allocations: 0 / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4073, allocations: 35.95 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4077, allocations: 12 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.4096, allocations: 1.422 MB / 1.215 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.41, allocations: 0.6924 MB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.41, allocations: 3.938 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.4101, allocations: 15.62 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.4101, allocations: 0 / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.4316, allocations: 2.491 MB / 1.219 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.109, allocations: 8.516 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > 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