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.001395/0.001395, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.0015/0.0015, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.439/3.439, allocations: 0.505 GB / 0.8066 GB, free: 23.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.002695/0.002695, allocations: 73.12 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4613, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003579/0.4649, allocations: 1.675 MB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2057/0.6706, allocations: 154.8 MB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.6709, allocations: 3.938 kB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.6711, allocations: 15.86 kB / 1.501 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.6716, allocations: 51.64 kB / 1.501 GB, free: 12.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.6723, allocations: 139.4 kB / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.6726, allocations: 123.6 kB / 1.501 GB, free: 12.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.6728, allocations: 25.38 kB / 1.501 GB, free: 12.52 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.6745, allocations: 182.6 kB / 1.501 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.6746, allocations: 39.84 kB / 1.501 GB, free: 12.33 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.6746, allocations: 8 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.6752, allocations: 191.6 kB / 1.501 GB, free: 12.13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.6752, allocations: 23.92 kB / 1.501 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.6753, allocations: 43.73 kB / 1.501 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.6759, allocations: 199.3 kB / 1.502 GB, free: 11.87 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6759, allocations: 0 / 1.502 GB, free: 11.87 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.885e-06/0.6759, allocations: 3.938 kB / 1.502 GB, free: 11.87 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.6759, allocations: 0 / 1.502 GB, free: 11.87 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.0008584/0.6767, allocations: 450.6 kB / 1.502 GB, free: 11.38 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.6768, allocations: 15.98 kB / 1.502 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.6769, allocations: 38.73 kB / 1.502 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.678, allocations: 87.8 kB / 1.502 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.6783, allocations: 212.5 kB / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6783, allocations: 4 kB / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.6783, allocations: 8 kB / 1.502 GB, free: 10.97 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.6788, allocations: 137.5 kB / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6788, allocations: 0 / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.6788, allocations: 7.938 kB / 1.503 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.6788, allocations: 4 kB / 1.503 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.6794, allocations: 135.9 kB / 1.503 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.6803, allocations: 420.3 kB / 1.503 GB, free: 10.23 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.6811, allocations: 247.7 kB / 1.503 GB, free: 9.957 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.6814, allocations: 72.8 kB / 1.503 GB, free: 9.883 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.6814, allocations: 0 / 1.503 GB, free: 9.883 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6814, allocations: 30.56 kB / 1.503 GB, free: 9.844 MB / 1.201 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.6814, allocations: 7.938 kB / 1.503 GB, free: 9.836 MB / 1.201 GB Notification: Performance of matching and sorting (n=8): time 0.0009122/0.6824, allocations: 221.4 kB / 1.504 GB, free: 9.613 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.6824, allocations: 51.41 kB / 1.504 GB, free: 9.551 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.6826, allocations: 147.9 kB / 1.504 GB, free: 9.398 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.6826, allocations: 29.7 kB / 1.504 GB, free: 9.363 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.6827, allocations: 108.1 kB / 1.504 GB, free: 9.254 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.6828, allocations: 23.89 kB / 1.504 GB, free: 9.23 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.6829, allocations: 25.7 kB / 1.504 GB, free: 9.199 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6831, allocations: 326.8 kB / 1.504 GB, free: 8.871 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.6833, allocations: 51.95 kB / 1.504 GB, free: 8.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.6836, allocations: 74.52 kB / 1.504 GB, free: 8.738 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.684, allocations: 124.7 kB / 1.505 GB, free: 8.613 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.684, allocations: 0 / 1.505 GB, free: 8.613 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005329/0.6846, allocations: 157.5 kB / 1.505 GB, free: 8.453 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6846, allocations: 5.406 kB / 1.505 GB, free: 8.449 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6846, allocations: 4 kB / 1.505 GB, free: 8.445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.6846, allocations: 7.984 kB / 1.505 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.6848, allocations: 23.97 kB / 1.505 GB, free: 8.414 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6848, allocations: 4.484 kB / 1.505 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.685, allocations: 23.94 kB / 1.505 GB, free: 8.387 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.685, allocations: 3.938 kB / 1.505 GB, free: 8.383 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.0001391/0.6852, allocations: 129.8 kB / 1.505 GB, free: 8.246 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.6852, allocations: 7.953 kB / 1.505 GB, free: 8.238 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.831e-05/0.6853, allocations: 16.72 kB / 1.505 GB, free: 8.219 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6853, allocations: 0 / 1.505 GB, free: 8.219 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.6853, allocations: 3.984 kB / 1.505 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6853, allocations: 0 / 1.505 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.6863, allocations: 470.2 kB / 1.505 GB, free: 7.699 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6863, allocations: 0 / 1.505 GB, free: 7.699 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.6865, allocations: 39.89 kB / 1.505 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6865, allocations: 0 / 1.505 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6865, allocations: 0 / 1.505 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.6865, allocations: 3.938 kB / 1.505 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6865, allocations: 4 kB / 1.505 GB, free: 7.652 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.6871, allocations: 259.4 kB / 1.506 GB, free: 7.383 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.6872, allocations: 89 kB / 1.506 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.6872, allocations: 4 kB / 1.506 GB, free: 7.273 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.6874, allocations: 19.91 kB / 1.506 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.6875, allocations: 4 kB / 1.506 GB, free: 7.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.6875, allocations: 7.984 kB / 1.506 GB, free: 7.242 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001012/0.6876, allocations: 110.7 kB / 1.506 GB, free: 7.137 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6876, allocations: 0 / 1.506 GB, free: 7.137 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003207/0.6879, allocations: 35.89 kB / 1.506 GB, free: 7.102 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.001057/0.689, allocations: 0.8021 MB / 1.507 GB, free: 6.273 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.6895, allocations: 127.8 kB / 1.507 GB, free: 6.148 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6896, allocations: 0 / 1.507 GB, free: 6.148 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.6898, allocations: 67.94 kB / 1.507 GB, free: 6.082 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.6902, allocations: 27.86 kB / 1.507 GB, free: 6.055 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.6932, allocations: 1.739 MB / 1.509 GB, free: 4.238 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.6935, allocations: 0.7002 MB / 1.509 GB, free: 3.512 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000149/0.6937, allocations: 28.41 kB / 1.509 GB, free: 3.484 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.6938, allocations: 31.42 kB / 1.509 GB, free: 3.453 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/0.6938, allocations: 0 / 1.509 GB, free: 3.453 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.7227, allocations: 3.381 MB / 1.513 GB, free: 228 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.922, allocations: 5.391 kB / 1.513 GB, free: 224 kB / 1.201 GB " [Timeout remaining time 291] (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: 16.221404219977558]