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.001301/0.001301, allocations: 110.4 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.002198/0.002198, allocations: 216 kB / 22.25 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.004 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.358/3.358, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.002963/0.002963, allocations: 68.56 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.443, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002972/0.4459, allocations: 1.699 MB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007493/0.4467, allocations: 403 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.4467, allocations: 4 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.767e-05/0.4468, allocations: 11.86 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.4469, allocations: 31.72 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.4473, allocations: 119.6 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.4475, allocations: 111.6 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.4476, allocations: 31.92 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.4477, allocations: 39.91 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.4478, allocations: 47.77 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.4478, allocations: 8 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.448, allocations: 67.95 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.448, allocations: 19.92 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.448, allocations: 39.8 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.4483, allocations: 135.5 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4483, allocations: 0 / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4483, allocations: 0 / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4483, allocations: 0 / 1.356 GB, free: 5.734 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.000597/0.4489, allocations: 345.8 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4489, allocations: 16.02 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.449, allocations: 38.75 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.4492, allocations: 32.81 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4494, allocations: 130.4 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.4496, allocations: 67.95 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.4496, allocations: 4.375 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.4499, allocations: 111.6 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4499, allocations: 0 / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4499, allocations: 4 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4499, allocations: 4 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.4501, allocations: 79.88 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.4509, allocations: 355.6 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.4514, allocations: 130.6 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.4515, allocations: 36.83 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4516, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4516, allocations: 38.56 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4516, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004227/0.452, allocations: 137.6 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4521, allocations: 55.34 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4522, allocations: 143.7 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4522, allocations: 29.7 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.4523, allocations: 100.1 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.4523, allocations: 23.78 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.4523, allocations: 21.72 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4525, allocations: 318.8 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4526, allocations: 27.98 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4527, allocations: 45.69 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4529, allocations: 90.06 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4529, allocations: 0 / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000267/0.4532, allocations: 105.6 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4532, allocations: 4 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4532, allocations: 7.938 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4532, allocations: 7.969 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4533, allocations: 23.92 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4533, allocations: 4 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.227e-05/0.4534, allocations: 11.94 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4534, allocations: 0 / 1.358 GB, free: 3.02 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 0.0001012/0.4535, allocations: 118.4 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.4536, allocations: 7.953 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.4536, allocations: 16.72 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4536, allocations: 7.938 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4536, allocations: 7.984 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4536, allocations: 0 / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4538, allocations: 168.6 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4538, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4539, allocations: 15.98 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4539, allocations: 0 / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.454, allocations: 4 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.454, allocations: 7.875 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.454, allocations: 0 / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.4543, allocations: 211.4 kB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.4543, allocations: 7.953 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4543, allocations: 0 / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.4545, allocations: 11.92 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4545, allocations: 7.984 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4545, allocations: 15.98 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.4546, allocations: 101.1 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4546, allocations: 0 / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002663/0.4548, allocations: 20 kB / 1.359 GB, free: 2.238 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.000629/0.4555, allocations: 0.7435 MB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.4557, allocations: 71.88 kB / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4557, allocations: 0 / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4558, allocations: 31.98 kB / 1.359 GB, free: 1.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4562, allocations: 29.47 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4582, allocations: 1.572 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.4585, allocations: 0.6963 MB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.71e-05/0.4586, allocations: 8.656 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.4586, allocations: 27.44 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.4586, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.4911, allocations: 2.88 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.2, allocations: 7.016 kB / 1.365 GB, free: 12.18 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.375980931999948]