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.001298/0.001298, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.47 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2597, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002696/0.2625, allocations: 1.49 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2637, allocations: 0.8154 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.2638, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.2638, allocations: 3.938 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.2639, allocations: 11.91 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.2644, allocations: 131.4 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.2645, allocations: 55.86 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.2646, allocations: 15.97 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.2646, allocations: 15.94 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.2647, allocations: 27.91 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2647, allocations: 7.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.265, allocations: 171.7 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.2651, allocations: 8 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.2651, allocations: 23.86 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.2654, allocations: 151.9 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2654, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2654, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2654, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 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.0005018/0.2659, allocations: 399.2 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2659, allocations: 8.031 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.266, allocations: 34.73 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.266, allocations: 8.844 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.2661, allocations: 176.2 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.2661, allocations: 384 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2662, allocations: 8.375 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2664, allocations: 78.19 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2664, allocations: 3.938 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2664, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2664, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2667, allocations: 71.92 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.2671, allocations: 288.6 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.2674, allocations: 50.55 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.2676, allocations: 48.91 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.2678, allocations: 89.09 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.2679, allocations: 30.56 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2679, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006875/0.2686, allocations: 129.5 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2686, allocations: 55.41 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.2687, allocations: 121.8 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2687, allocations: 25.7 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.2688, allocations: 88.14 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.2688, allocations: 11.81 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.2689, allocations: 21.7 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.269, allocations: 322.7 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2691, allocations: 31.97 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2693, allocations: 27.95 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2696, allocations: 80.72 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2696, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003317/0.2699, allocations: 93.62 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2699, allocations: 4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.27, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.27, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2701, allocations: 15.98 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2701, allocations: 3.984 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.2702, allocations: 15.89 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2702, allocations: 0 / 1.069 GB, free: 9.027 MB / 0.8262 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 7.317e-05/0.2703, allocations: 117.8 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.2703, allocations: 4.328 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.2707, allocations: 117.4 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2707, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2707, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2707, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2709, allocations: 173.6 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2709, allocations: 0 / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.271, allocations: 15.98 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.271, allocations: 8 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.271, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.271, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.271, allocations: 3.984 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.2714, allocations: 199.3 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.2714, allocations: 85.05 kB / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2714, allocations: 4 kB / 1.069 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2716, allocations: 15.97 kB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.2716, allocations: 4 kB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2716, allocations: 0 / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.2717, allocations: 91.7 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2717, allocations: 3.938 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002703/0.272, allocations: 32 kB / 1.07 GB, free: 8.062 MB / 0.8262 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.0007387/0.2727, allocations: 0.7674 MB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.2731, allocations: 75.86 kB / 1.07 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2731, allocations: 0 / 1.07 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.2732, allocations: 35.95 kB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2736, allocations: 8 kB / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.2753, allocations: 1.432 MB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.2755, allocations: 0.6846 MB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.2755, allocations: 7.906 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.2756, allocations: 15.77 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2756, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08178/0.3574, allocations: 2.424 MB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.681, allocations: 13.92 kB / 1.075 GB, free: 2.559 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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