Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001789/0.001789, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.002227/0.002227, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.908/2.908, allocations: 476.7 MB / 0.7672 GB, free: 5.344 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.HumidityRatioPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_11_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.00235/0.00235, allocations: 67.89 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9256/0.9279, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003115/0.931, allocations: 1.689 MB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.9318, allocations: 404.5 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.9319, allocations: 0 / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.932, allocations: 11.86 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.9321, allocations: 27.78 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.9325, allocations: 120.8 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.9327, allocations: 107.6 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9328, allocations: 29.8 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.9329, allocations: 35.92 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.933, allocations: 47.78 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.933, allocations: 8 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.9331, allocations: 63.94 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.9332, allocations: 23.91 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.9332, allocations: 43.8 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.9335, allocations: 127.5 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9335, allocations: 0 / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9335, allocations: 0 / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9335, allocations: 0 / 1.281 GB, free: 10.68 MB / 0.9825 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.0006559/0.9342, allocations: 430.9 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.9342, allocations: 15.91 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.9343, allocations: 42.73 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.9345, allocations: 24.88 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.9347, allocations: 199.8 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.9348, allocations: 38.25 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.9348, allocations: 4.375 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.9351, allocations: 111.3 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9351, allocations: 0 / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.9351, allocations: 4 kB / 1.282 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9351, allocations: 4 kB / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.9354, allocations: 79.88 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.9361, allocations: 392.5 kB / 1.282 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.9367, allocations: 130.6 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.9368, allocations: 36.84 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.9368, allocations: 4 kB / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.9369, allocations: 30.56 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9369, allocations: 0 / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.9373, allocations: 133.5 kB / 1.283 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.9374, allocations: 59.34 kB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.9375, allocations: 139.2 kB / 1.283 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.9375, allocations: 29.7 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.9376, allocations: 100.1 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.9376, allocations: 23.8 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.9376, allocations: 21.7 kB / 1.283 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9378, allocations: 314.8 kB / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.9379, allocations: 27.97 kB / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.938, allocations: 57.83 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.9383, allocations: 78.08 kB / 1.283 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9383, allocations: 0 / 1.283 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002805/0.9385, allocations: 109.6 kB / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9386, allocations: 12 kB / 1.283 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9386, allocations: 0 / 1.283 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9386, allocations: 3.938 kB / 1.283 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.9387, allocations: 27.86 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.9387, allocations: 0 / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.9388, allocations: 19.89 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.9388, allocations: 4 kB / 1.283 GB, free: 7.781 MB / 0.9825 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.0001019/0.9389, allocations: 117.8 kB / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.9389, allocations: 11.95 kB / 1.284 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.939, allocations: 12.72 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.939, allocations: 3.938 kB / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.939, allocations: 0 / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.939, allocations: 7.938 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.9392, allocations: 197.6 kB / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9392, allocations: 0 / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.9393, allocations: 15.98 kB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.9393, allocations: 4 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.9393, allocations: 3.938 kB / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9393, allocations: 7.938 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9393, allocations: 0 / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.9397, allocations: 195.5 kB / 1.284 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.9398, allocations: 89.05 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.9398, allocations: 4 kB / 1.284 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.9399, allocations: 15.92 kB / 1.284 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.94, allocations: 4 kB / 1.284 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.94, allocations: 7.984 kB / 1.284 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.9401, allocations: 105.5 kB / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9401, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002505/0.9403, allocations: 27.89 kB / 1.284 GB, free: 6.863 MB / 0.9825 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.000713/0.941, allocations: 0.7363 MB / 1.285 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.9413, allocations: 75.88 kB / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9413, allocations: 0 / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.9414, allocations: 35.97 kB / 1.285 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.9418, allocations: 28.53 kB / 1.285 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.9438, allocations: 1.545 MB / 1.287 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.9441, allocations: 0.7046 MB / 1.287 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.539e-05/0.9442, allocations: 8.672 kB / 1.287 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.9442, allocations: 31.36 kB / 1.287 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9442, allocations: 0 / 1.287 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.9694, allocations: 2.756 MB / 1.29 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/9.15, allocations: 10.62 kB / 1.29 GB, free: 0.9336 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p from file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! Error: Could not read variable humRat.p_w in file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv. Warning: Get data of variable humRat.p_w from file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.563161025987938]