Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001815/0.001815, allocations: 108.2 kB / 16.45 MB, free: 6.508 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.001874/0.001874, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.49 GB / 0.7916 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_12_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.002714/0.002714, allocations: 67.44 kB / 1.149 GB, free: 26.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3942, allocations: 176.1 MB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002892/0.3971, allocations: 1.687 MB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.3978, allocations: 410.7 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.3979, allocations: 4 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.398, allocations: 11.86 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.398, allocations: 15.8 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.3985, allocations: 126.6 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3986, allocations: 107.6 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3987, allocations: 40.19 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.3988, allocations: 39.86 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.3989, allocations: 43.83 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3989, allocations: 8 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.399, allocations: 59.95 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.3991, allocations: 23.91 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.3991, allocations: 43.8 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3993, allocations: 131.5 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3994, allocations: 4 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3994, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3994, allocations: 4 kB / 1.323 GB, free: 0.7266 MB / 1.014 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.0006243/0.4, allocations: 422.8 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4, allocations: 15.98 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.4001, allocations: 34.75 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.4003, allocations: 40.81 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.4005, allocations: 192.2 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.688e-05/0.4006, allocations: 34.27 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.4006, allocations: 12.38 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.4009, allocations: 109.8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4009, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4009, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4009, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.4012, allocations: 79.94 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.4019, allocations: 396.5 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.4024, allocations: 122.5 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.4025, allocations: 44.88 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.4026, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4026, allocations: 30.56 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.4026, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004378/0.403, allocations: 141.7 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4031, allocations: 55.34 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4032, allocations: 135.9 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4032, allocations: 25.7 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.4033, allocations: 108 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4033, allocations: 19.8 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.4033, allocations: 21.72 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4035, allocations: 326.8 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.4036, allocations: 31.97 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.4037, allocations: 41.7 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.4039, allocations: 73.67 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4039, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002901/0.4042, allocations: 125.9 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4042, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4042, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4043, allocations: 7.938 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4044, allocations: 15.98 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4044, allocations: 80 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.4045, allocations: 15.94 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4045, allocations: 7.984 kB / 1.326 GB, free: 13.84 MB / 1.029 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.998e-05/0.4046, allocations: 121.8 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.4046, allocations: 7.953 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.4047, allocations: 16.7 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4047, allocations: 3.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4047, allocations: 3.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4047, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.4049, allocations: 201.6 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4049, allocations: 0 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.405, allocations: 16 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.405, allocations: 7.984 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.405, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.405, allocations: 3.938 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.405, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.4053, allocations: 199.4 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.4054, allocations: 89 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4054, allocations: 4 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4056, allocations: 19.92 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4056, allocations: 7.984 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4056, allocations: 0 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.033e-05/0.4057, allocations: 108.8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4057, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002451/0.4059, allocations: 23.95 kB / 1.327 GB, free: 12.93 MB / 1.029 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.0006416/0.4066, allocations: 0.732 MB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.4068, allocations: 75.88 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4068, allocations: 0 / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.407, allocations: 39.98 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.4073, allocations: 31.84 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4093, allocations: 1.552 MB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.4096, allocations: 0.6924 MB / 1.33 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.626e-05/0.4097, allocations: 20.59 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.4097, allocations: 23.44 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4097, allocations: 0 / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.4335, allocations: 2.742 MB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.614, allocations: 11.77 kB / 1.333 GB, free: 7.004 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! Error: Could not read variable humRat.p_w in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p_w from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.717379947192967]