Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001692/0.001692, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003175/0.003175, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.809 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.403/3.403, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.002052/0.002052, allocations: 68.41 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4192, allocations: 176.1 MB / 1.325 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004886/0.4241, allocations: 1.437 MB / 1.326 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.4257, allocations: 0.5613 MB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.4257, allocations: 0 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.4258, allocations: 3.938 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.4259, allocations: 3.938 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.4265, allocations: 99.56 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.4266, allocations: 19.92 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4268, allocations: 8 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.4268, allocations: 19.91 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.4269, allocations: 8 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4269, allocations: 7.875 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.4274, allocations: 139.8 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.4274, allocations: 11.97 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.4274, allocations: 4 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.4278, allocations: 103.6 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4278, allocations: 0 / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4278, allocations: 0 / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4278, allocations: 0 / 1.327 GB, free: 4 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007704/0.4286, allocations: 294 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4286, allocations: 12.03 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.4287, allocations: 30.75 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000668/0.4293, allocations: 28.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4295, allocations: 114.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4295, allocations: 384 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4295, allocations: 384 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.4299, allocations: 78.12 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4299, allocations: 3.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4299, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4299, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.4303, allocations: 51.94 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.431, allocations: 240 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.4314, allocations: 58.42 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.4316, allocations: 32.89 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4316, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.4317, allocations: 34.56 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.4317, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0008069/0.4325, allocations: 113.6 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.4325, allocations: 55.41 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4327, allocations: 97.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4327, allocations: 29.83 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.4328, allocations: 88.12 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.4328, allocations: 7.953 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.4329, allocations: 9.719 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4331, allocations: 322.8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.4333, allocations: 23.97 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4335, allocations: 27.97 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.4339, allocations: 56.88 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4339, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005044/0.4344, allocations: 89.59 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4344, allocations: 7.984 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4344, allocations: 3.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4345, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.4347, allocations: 23.86 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4347, allocations: 4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.4348, allocations: 7.984 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.4348, allocations: 4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001457/0.435, allocations: 118.3 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.435, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.4351, allocations: 7.297 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4351, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4351, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4351, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.4355, allocations: 136.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4355, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4356, allocations: 15.98 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4356, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4356, allocations: 7.984 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4356, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4356, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.4362, allocations: 183.4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.4362, allocations: 11.89 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.4362, allocations: 8.016 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.4364, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.4364, allocations: 7.984 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4364, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.455e-05/0.4365, allocations: 87.45 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4365, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004398/0.437, allocations: 12 kB / 1.33 GB, free: 13.23 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 (2): * Single equations (assignments): 2 * 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.001083/0.438, allocations: 0.728 MB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.4385, allocations: 59.88 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4385, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.4387, allocations: 32.06 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.4392, allocations: 6.219 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.4402, allocations: 172.3 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4403, allocations: 59.34 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.4404, allocations: 19.91 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.4405, allocations: 15.42 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4405, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.4755, allocations: 2.202 MB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.72, allocations: 8.828 kB / 1.333 GB, free: 9.984 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_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_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.9736191467382]