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.00132/0.00132, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00168/0.00168, allocations: 212.4 kB / 22.24 MB, free: 4.855 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.965 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.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002134/0.002134, allocations: 65.89 kB / 1.186 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.427, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003665/0.4306, allocations: 1.657 MB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.4316, allocations: 379.9 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4317, allocations: 4 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.4318, allocations: 11.86 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.4319, allocations: 19.8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.4325, allocations: 126.5 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.4327, allocations: 111.5 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.4328, allocations: 32.2 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.4329, allocations: 39.86 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.433, allocations: 35.83 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.433, allocations: 8 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.4332, allocations: 63.95 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.4332, allocations: 23.91 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.4333, allocations: 35.8 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.4336, allocations: 139.5 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4336, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4336, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.4336, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 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.000742/0.4344, allocations: 349.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.4344, allocations: 12.03 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/0.4345, allocations: 34.75 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.4348, allocations: 28.86 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.4351, allocations: 142.3 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.4352, allocations: 59.97 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4353, allocations: 4.375 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.4356, allocations: 135.6 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4356, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4356, allocations: 7.984 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4356, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.4359, allocations: 87.92 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.4367, allocations: 343.6 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.4373, allocations: 122.5 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4374, allocations: 40.81 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.4374, allocations: 8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.4374, allocations: 30.56 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.4374, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004765/0.4379, allocations: 141.9 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4379, allocations: 55.34 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.4381, allocations: 143.8 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.4381, allocations: 25.7 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.4382, allocations: 92.14 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4382, allocations: 35.73 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.4383, allocations: 17.72 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4384, allocations: 322.8 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4386, allocations: 31.97 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4387, allocations: 45.77 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.4389, allocations: 77.67 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4389, allocations: 4 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002939/0.4392, allocations: 105.5 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4392, allocations: 8 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4392, allocations: 0 / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.4393, allocations: 3.938 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4394, allocations: 19.98 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4394, allocations: 4 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.4395, allocations: 7.984 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.4395, allocations: 4.031 kB / 1.368 GB, free: 8.832 MB / 1.061 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 0.000112/0.4396, allocations: 118.9 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.4396, allocations: 11.95 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.4397, allocations: 16.7 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4397, allocations: 3.938 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4397, allocations: 3.938 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.4397, allocations: 4 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4399, allocations: 160.6 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4399, allocations: 0 / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.44, allocations: 19.98 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.44, allocations: 8 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.44, allocations: 0 / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.44, allocations: 7.875 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.44, allocations: 0 / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.4404, allocations: 203.4 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.4404, allocations: 7.953 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.4404, allocations: 0 / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.4406, allocations: 15.92 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.4406, allocations: 11.98 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4407, allocations: 8 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.408e-05/0.4407, allocations: 105 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4407, allocations: 0 / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002507/0.441, allocations: 16 kB / 1.369 GB, free: 8.051 MB / 1.061 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.0007181/0.4417, allocations: 0.7397 MB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.442, allocations: 71.95 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.442, allocations: 0 / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.4421, allocations: 36.45 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4425, allocations: 32.06 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.4448, allocations: 1.563 MB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.29e-05/0.4449, allocations: 75.33 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.919e-05/0.445, allocations: 20.53 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.445, allocations: 27.44 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/0.445, allocations: 0 / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.4781, allocations: 3.404 MB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.77, allocations: 13.81 kB / 1.375 GB, free: 2.105 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.04280342021957]