Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001392/0.001392, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.00167/0.00167, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.582/1.582, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.434/3.434, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.00211/0.00211, allocations: 68.89 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00319/0.4335, allocations: 1.681 MB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.4343, allocations: 398.8 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.4344, allocations: 4 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.4345, allocations: 7.875 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.4346, allocations: 27.78 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.4351, allocations: 122.3 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.4353, allocations: 111.6 kB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4354, allocations: 32.19 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.4355, allocations: 39.92 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.4356, allocations: 47.7 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.4356, allocations: 8 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.4357, allocations: 67.95 kB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.4358, allocations: 23.91 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.4358, allocations: 43.8 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.4361, allocations: 131.5 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4361, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4361, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.4361, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006909/0.4368, allocations: 422.9 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4368, allocations: 15.92 kB / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.4369, allocations: 46.75 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.4371, allocations: 32.81 kB / 1.351 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.4374, allocations: 192.2 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.4374, allocations: 34.27 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.4375, allocations: 8.375 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.4378, allocations: 109.8 kB / 1.351 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4378, allocations: 4 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4378, allocations: 7.984 kB / 1.351 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4378, allocations: 4 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.4381, allocations: 75.94 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.4389, allocations: 388.5 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.4395, allocations: 122.5 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4396, allocations: 40.88 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.4396, allocations: 0 / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4396, allocations: 38.56 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4396, allocations: 0 / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004553/0.4401, allocations: 133.7 kB / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4401, allocations: 59.34 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4403, allocations: 136.3 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.4403, allocations: 29.7 kB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.4404, allocations: 104 kB / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4404, allocations: 27.78 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.4404, allocations: 21.72 kB / 1.352 GB, free: 4.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4406, allocations: 318.8 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4407, allocations: 31.97 kB / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4408, allocations: 41.7 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.441, allocations: 77.67 kB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.441, allocations: 4 kB / 1.353 GB, free: 4.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002772/0.4413, allocations: 105.5 kB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4413, allocations: 4 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4413, allocations: 4 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4414, allocations: 7.969 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4415, allocations: 27.86 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4415, allocations: 0 / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.4416, allocations: 15.94 kB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4416, allocations: 3.938 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.448e-05/0.4417, allocations: 113.8 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.4417, allocations: 7.953 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.4418, allocations: 20.7 kB / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4418, allocations: 7.938 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4418, allocations: 0 / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4418, allocations: 0 / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.442, allocations: 201.5 kB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.442, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4421, allocations: 15.98 kB / 1.353 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4421, allocations: 0 / 1.353 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4421, allocations: 8 kB / 1.353 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4422, allocations: 11.92 kB / 1.353 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4422, allocations: 0 / 1.353 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.4425, allocations: 207.9 kB / 1.354 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.4425, allocations: 81.06 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.4426, allocations: 0 / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.4427, allocations: 15.92 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.4428, allocations: 7.984 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4428, allocations: 4 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.669e-05/0.4429, allocations: 111.2 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4429, allocations: 0 / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002483/0.4431, allocations: 16 kB / 1.354 GB, free: 3.43 MB / 1.045 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 (7): * Single equations (assignments): 7 * 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.000654/0.4438, allocations: 0.7437 MB / 1.355 GB, free: 2.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.444, allocations: 67.94 kB / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.444, allocations: 0 / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4442, allocations: 35.92 kB / 1.355 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.4445, allocations: 29.64 kB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.4466, allocations: 1.568 MB / 1.356 GB, free: 0.875 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4469, allocations: 0.6963 MB / 1.357 GB, free: 156 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.447, allocations: 16.64 kB / 1.357 GB, free: 136 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.447, allocations: 23.44 kB / 1.357 GB, free: 112 kB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.447, allocations: 4 kB / 1.357 GB, free: 108 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.474, allocations: 2.756 MB / 1.36 GB, free: 13.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.586, allocations: 1.688 kB / 1.36 GB, free: 13.51 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable humRat.p in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! Error: Could not read variable humRat.p_w in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p_w from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.958207136020064]