Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 221.4 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.318/3.318, allocations: 0.505 GB / 0.8101 GB, free: 22.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.22 kB / 1.177 GB, free: 17.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3651, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002951/0.368, allocations: 1.677 MB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1908/0.5588, allocations: 154.9 MB / 1.506 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.5589, allocations: 0 / 1.506 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.5591, allocations: 19.8 kB / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.5594, allocations: 47.7 kB / 1.506 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.5599, allocations: 143.4 kB / 1.506 GB, free: 11.1 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.5602, allocations: 127.6 kB / 1.506 GB, free: 10.98 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.5603, allocations: 21.58 kB / 1.506 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.5618, allocations: 184.2 kB / 1.506 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 8.392e-05/0.5619, allocations: 39.84 kB / 1.506 GB, free: 10.76 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.5619, allocations: 12 kB / 1.506 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.5623, allocations: 187.6 kB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.5624, allocations: 19.92 kB / 1.507 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.5625, allocations: 55.72 kB / 1.507 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.5629, allocations: 191.2 kB / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5629, allocations: 0 / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5629, allocations: 0 / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5629, allocations: 0 / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007581/0.5637, allocations: 381.5 kB / 1.507 GB, free: 9.898 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5637, allocations: 12.02 kB / 1.507 GB, free: 9.887 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.5638, allocations: 38.75 kB / 1.507 GB, free: 9.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5649, allocations: 87.78 kB / 1.507 GB, free: 9.754 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5651, allocations: 141 kB / 1.507 GB, free: 9.59 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5651, allocations: 8 kB / 1.507 GB, free: 9.582 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.5651, allocations: 4 kB / 1.507 GB, free: 9.578 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.5656, allocations: 141.5 kB / 1.508 GB, free: 9.434 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.5656, allocations: 4 kB / 1.508 GB, free: 9.43 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5656, allocations: 3.938 kB / 1.508 GB, free: 9.426 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5656, allocations: 4 kB / 1.508 GB, free: 9.422 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.5662, allocations: 139.9 kB / 1.508 GB, free: 9.285 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.5671, allocations: 383.4 kB / 1.508 GB, free: 8.867 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.5678, allocations: 166.6 kB / 1.508 GB, free: 8.695 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.568, allocations: 76.8 kB / 1.508 GB, free: 8.617 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.5681, allocations: 0 / 1.508 GB, free: 8.617 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.5681, allocations: 34.56 kB / 1.508 GB, free: 8.574 MB / 1.201 GB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.5681, allocations: 3.938 kB / 1.508 GB, free: 8.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=8): time 0.0008318/0.5689, allocations: 213.5 kB / 1.509 GB, free: 8.355 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.569, allocations: 55.34 kB / 1.509 GB, free: 8.289 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.5691, allocations: 148.7 kB / 1.509 GB, free: 8.137 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.5692, allocations: 29.7 kB / 1.509 GB, free: 8.102 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.5692, allocations: 108.1 kB / 1.509 GB, free: 7.992 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.5693, allocations: 27.89 kB / 1.509 GB, free: 7.965 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.5693, allocations: 21.7 kB / 1.509 GB, free: 7.938 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5695, allocations: 330.8 kB / 1.509 GB, free: 7.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5697, allocations: 55.88 kB / 1.509 GB, free: 7.551 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.5699, allocations: 78.53 kB / 1.509 GB, free: 7.465 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.5703, allocations: 121.2 kB / 1.509 GB, free: 7.344 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5703, allocations: 4.031 kB / 1.509 GB, free: 7.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005206/0.5709, allocations: 165.5 kB / 1.51 GB, free: 7.172 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5709, allocations: 8 kB / 1.51 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5709, allocations: 0 / 1.51 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5709, allocations: 0 / 1.51 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.5711, allocations: 31.97 kB / 1.51 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5711, allocations: 0 / 1.51 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.5713, allocations: 19.92 kB / 1.51 GB, free: 7.113 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.5713, allocations: 11.92 kB / 1.51 GB, free: 7.102 MB / 1.201 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 (8): * Single equations (assignments): 8 * 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 0.0001168/0.5714, allocations: 130.3 kB / 1.51 GB, free: 6.965 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.5715, allocations: 7.953 kB / 1.51 GB, free: 6.957 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.5716, allocations: 20.72 kB / 1.51 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.5716, allocations: 0 / 1.51 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5716, allocations: 0 / 1.51 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5716, allocations: 3.984 kB / 1.51 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/0.5724, allocations: 429.4 kB / 1.51 GB, free: 6.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5724, allocations: 0 / 1.51 GB, free: 6.465 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.5726, allocations: 35.89 kB / 1.51 GB, free: 6.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5726, allocations: 0 / 1.51 GB, free: 6.43 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5727, allocations: 4 kB / 1.51 GB, free: 6.426 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5727, allocations: 3.938 kB / 1.51 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5727, allocations: 0 / 1.51 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.5732, allocations: 255.4 kB / 1.511 GB, free: 6.156 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.5732, allocations: 7.953 kB / 1.511 GB, free: 6.148 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5733, allocations: 4 kB / 1.511 GB, free: 6.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5734, allocations: 27.84 kB / 1.511 GB, free: 6.117 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.5735, allocations: 7.984 kB / 1.511 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.5735, allocations: 0 / 1.511 GB, free: 6.109 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001004/0.5736, allocations: 116.9 kB / 1.511 GB, free: 5.996 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5736, allocations: 0 / 1.511 GB, free: 5.996 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003037/0.5739, allocations: 35.83 kB / 1.511 GB, free: 5.961 MB / 1.201 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 (8): * Single equations (assignments): 8 * 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.001148/0.5751, allocations: 0.7982 MB / 1.512 GB, free: 5.137 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005764/0.5756, allocations: 127.8 kB / 1.512 GB, free: 5.012 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5756, allocations: 0 / 1.512 GB, free: 5.012 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.5759, allocations: 67.88 kB / 1.512 GB, free: 4.945 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.5763, allocations: 38.08 kB / 1.512 GB, free: 4.91 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.5792, allocations: 1.734 MB / 1.513 GB, free: 3.09 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5796, allocations: 0.708 MB / 1.514 GB, free: 2.355 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.5797, allocations: 24.45 kB / 1.514 GB, free: 2.332 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/0.5798, allocations: 27.42 kB / 1.514 GB, free: 2.305 MB / 1.201 GB Notification: Performance of SimCode: time 9.51e-07/0.5798, allocations: 4 kB / 1.514 GB, free: 2.301 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.611, allocations: 3.511 MB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.38, allocations: 13.06 kB / 1.518 GB, free: 14.94 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFra1.phi in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.63237604799997]