Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001759/0.001759, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001563/0.001563, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.904/2.904, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_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.002164/0.002164, allocations: 66.64 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003114/0.3592, allocations: 1.634 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.5472, allocations: 133.2 MB / 1.414 GB, free: 5.141 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.5473, allocations: 4 kB / 1.414 GB, free: 5.137 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.5475, allocations: 19.8 kB / 1.414 GB, free: 5.117 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.5478, allocations: 47.66 kB / 1.414 GB, free: 5.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.5482, allocations: 151.4 kB / 1.414 GB, free: 4.922 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.5484, allocations: 119.6 kB / 1.415 GB, free: 4.805 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.5485, allocations: 25.58 kB / 1.415 GB, free: 4.777 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.5499, allocations: 179.5 kB / 1.415 GB, free: 4.621 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.55, allocations: 39.78 kB / 1.415 GB, free: 4.582 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.55, allocations: 8 kB / 1.415 GB, free: 4.574 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.5504, allocations: 175.7 kB / 1.415 GB, free: 4.402 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.5504, allocations: 19.92 kB / 1.415 GB, free: 4.383 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.5505, allocations: 39.78 kB / 1.415 GB, free: 4.344 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.5509, allocations: 193 kB / 1.415 GB, free: 4.156 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5509, allocations: 4 kB / 1.415 GB, free: 4.152 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5509, allocations: 4 kB / 1.415 GB, free: 4.148 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.5509, allocations: 0 / 1.415 GB, free: 4.148 MB / 1.107 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.0006918/0.5516, allocations: 369.5 kB / 1.416 GB, free: 3.758 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5516, allocations: 12.03 kB / 1.416 GB, free: 3.746 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.5517, allocations: 38.73 kB / 1.416 GB, free: 3.699 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.5526, allocations: 91.75 kB / 1.416 GB, free: 3.609 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.5529, allocations: 153 kB / 1.416 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.5529, allocations: 7.938 kB / 1.416 GB, free: 3.426 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.5529, allocations: 8 kB / 1.416 GB, free: 3.418 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.5534, allocations: 136.8 kB / 1.416 GB, free: 3.281 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5534, allocations: 0 / 1.416 GB, free: 3.281 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5534, allocations: 7.938 kB / 1.416 GB, free: 3.273 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5534, allocations: 4 kB / 1.416 GB, free: 3.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.554, allocations: 131.9 kB / 1.416 GB, free: 3.141 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.5548, allocations: 371.5 kB / 1.416 GB, free: 2.734 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.5555, allocations: 166.6 kB / 1.417 GB, free: 2.562 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.5558, allocations: 84.72 kB / 1.417 GB, free: 2.477 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.5558, allocations: 0 / 1.417 GB, free: 2.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.5558, allocations: 34.56 kB / 1.417 GB, free: 2.434 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 3.196e-06/0.5558, allocations: 3.984 kB / 1.417 GB, free: 2.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.0008106/0.5566, allocations: 209.5 kB / 1.417 GB, free: 2.219 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.5567, allocations: 59.39 kB / 1.417 GB, free: 2.148 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5568, allocations: 141.3 kB / 1.417 GB, free: 2 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.5569, allocations: 29.7 kB / 1.417 GB, free: 1.965 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.557, allocations: 108.1 kB / 1.417 GB, free: 1.855 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.557, allocations: 23.94 kB / 1.417 GB, free: 1.832 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.5571, allocations: 21.7 kB / 1.417 GB, free: 1.805 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.5572, allocations: 326.8 kB / 1.418 GB, free: 1.477 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.5575, allocations: 63.81 kB / 1.418 GB, free: 1.414 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.5577, allocations: 129.9 kB / 1.418 GB, free: 1.266 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.5581, allocations: 124.8 kB / 1.418 GB, free: 1.141 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5581, allocations: 0 / 1.418 GB, free: 1.141 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004776/0.5586, allocations: 162 kB / 1.418 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5586, allocations: 4 kB / 1.418 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5587, allocations: 4.078 kB / 1.418 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5587, allocations: 0 / 1.418 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.5589, allocations: 31.91 kB / 1.418 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5589, allocations: 3.984 kB / 1.418 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.559, allocations: 19.97 kB / 1.418 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.559, allocations: 7.938 kB / 1.418 GB, free: 0.9062 MB / 1.107 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.000112/0.5592, allocations: 113.8 kB / 1.418 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.5592, allocations: 19.91 kB / 1.418 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.5593, allocations: 16.7 kB / 1.418 GB, free: 0.75 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5593, allocations: 4 kB / 1.418 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5593, allocations: 0 / 1.418 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5593, allocations: 3.938 kB / 1.418 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.5602, allocations: 433.3 kB / 1.419 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5602, allocations: 0 / 1.419 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.5604, allocations: 27.97 kB / 1.419 GB, free: 248 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5604, allocations: 0 / 1.419 GB, free: 248 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5604, allocations: 3.984 kB / 1.419 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5604, allocations: 3.938 kB / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5604, allocations: 0 / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.561, allocations: 263.3 kB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.5611, allocations: 7.891 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.5611, allocations: 4 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.5613, allocations: 15.92 kB / 1.419 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5613, allocations: 15.98 kB / 1.419 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.5613, allocations: 3.984 kB / 1.419 GB, free: 15.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001192/0.5614, allocations: 113.7 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5614, allocations: 0 / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003794/0.5618, allocations: 27.94 kB / 1.419 GB, free: 15.78 MB / 1.123 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.001097/0.5629, allocations: 0.7982 MB / 1.42 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.5635, allocations: 123.8 kB / 1.42 GB, free: 14.83 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5635, allocations: 0 / 1.42 GB, free: 14.83 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.5637, allocations: 71.88 kB / 1.42 GB, free: 14.76 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5641, allocations: 36.56 kB / 1.42 GB, free: 14.73 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.5668, allocations: 1.744 MB / 1.422 GB, free: 12.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.5669, allocations: 84.16 kB / 1.422 GB, free: 12.8 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.5671, allocations: 36.42 kB / 1.422 GB, free: 12.77 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.5672, allocations: 35.42 kB / 1.422 GB, free: 12.73 MB / 1.123 GB Notification: Performance of SimCode: time 3.7e-07/0.5672, allocations: 112 / 1.422 GB, free: 12.73 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.602, allocations: 4.077 MB / 1.426 GB, free: 8.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.96, allocations: 5.953 kB / 1.426 GB, free: 8.836 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.138343357946724]