Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 191.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.2/3.2, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 64.34 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3927, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003527/0.3963, allocations: 1.421 MB / 1.317 GB, free: 8.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005566/0.3968, allocations: 203.5 kB / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.3968, allocations: 0 / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.3969, allocations: 0 / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.3969, allocations: 7.938 kB / 1.318 GB, free: 8.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3972, allocations: 23.91 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3973, allocations: 27.86 kB / 1.318 GB, free: 8.027 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3974, allocations: 8 kB / 1.318 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.3975, allocations: 11.98 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.3975, allocations: 15.92 kB / 1.318 GB, free: 7.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3976, allocations: 3.938 kB / 1.318 GB, free: 7.988 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.3977, allocations: 27.97 kB / 1.318 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3977, allocations: 7.938 kB / 1.318 GB, free: 7.953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3977, allocations: 7.938 kB / 1.318 GB, free: 7.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.3978, allocations: 31.91 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3978, allocations: 4 kB / 1.318 GB, free: 7.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3978, allocations: 0 / 1.318 GB, free: 7.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3978, allocations: 4 kB / 1.318 GB, free: 7.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000536/0.3984, allocations: 270.2 kB / 1.318 GB, free: 7.609 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3984, allocations: 12.02 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.3986, allocations: 4.938 kB / 1.318 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3987, allocations: 106.5 kB / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3987, allocations: 384 / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3987, allocations: 4.375 kB / 1.318 GB, free: 7.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3989, allocations: 50.23 kB / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3989, allocations: 4.188 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3989, allocations: 3.938 kB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3989, allocations: 0 / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.3991, allocations: 39.89 kB / 1.318 GB, free: 7.359 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3995, allocations: 224 kB / 1.318 GB, free: 7.098 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3997, allocations: 42.48 kB / 1.318 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.3998, allocations: 24.89 kB / 1.319 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3998, allocations: 0 / 1.319 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3998, allocations: 34.56 kB / 1.319 GB, free: 6.977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3998, allocations: 0 / 1.319 GB, free: 6.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.4002, allocations: 85.58 kB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.4002, allocations: 51.41 kB / 1.319 GB, free: 6.824 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.4003, allocations: 101.9 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4003, allocations: 25.7 kB / 1.319 GB, free: 6.684 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.4004, allocations: 84.12 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.4004, allocations: 3.953 kB / 1.319 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4004, allocations: 17.72 kB / 1.319 GB, free: 6.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4006, allocations: 315 kB / 1.319 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.4007, allocations: 15.98 kB / 1.319 GB, free: 6.238 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.4008, allocations: 23.97 kB / 1.319 GB, free: 6.215 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4009, allocations: 40.77 kB / 1.319 GB, free: 6.172 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4009, allocations: 0 / 1.319 GB, free: 6.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.4011, allocations: 69.66 kB / 1.319 GB, free: 6.098 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4011, allocations: 8 kB / 1.319 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4011, allocations: 0 / 1.319 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4011, allocations: 0 / 1.319 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.4012, allocations: 11.92 kB / 1.319 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4012, allocations: 3.938 kB / 1.319 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.4013, allocations: 4 kB / 1.319 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4013, allocations: 7.984 kB / 1.319 GB, free: 6.062 MB / 1.014 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 9.656e-05/0.4014, allocations: 117.8 kB / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.4014, allocations: 0 / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4017, allocations: 80.86 kB / 1.32 GB, free: 5.848 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4017, allocations: 0 / 1.32 GB, free: 5.848 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.4017, allocations: 11.98 kB / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4017, allocations: 0 / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.4019, allocations: 132.7 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4019, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.4019, allocations: 11.98 kB / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4019, allocations: 0 / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4019, allocations: 0 / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4019, allocations: 0 / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.402, allocations: 4 kB / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4022, allocations: 171.4 kB / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.4022, allocations: 0 / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4022, allocations: 11.98 kB / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.4023, allocations: 0 / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.4024, allocations: 7.984 kB / 1.32 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.4024, allocations: 0 / 1.32 GB, free: 5.445 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.4024, allocations: 79.28 kB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4024, allocations: 0 / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002349/0.4026, allocations: 8 kB / 1.32 GB, free: 5.359 MB / 1.014 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 (3): * Single equations (assignments): 3 * 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.0001166/0.4028, allocations: 100.2 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.403, allocations: 35.95 kB / 1.32 GB, free: 5.215 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.403, allocations: 0 / 1.32 GB, free: 5.215 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.4031, allocations: 27.92 kB / 1.32 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4034, allocations: 7.922 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.4037, allocations: 130.9 kB / 1.32 GB, free: 5.027 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.404, allocations: 0.6768 MB / 1.321 GB, free: 4.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.4041, allocations: 4 kB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.4041, allocations: 7.438 kB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.4041, allocations: 0 / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of Templates: time 0.002789/0.4069, allocations: 0.5257 MB / 1.321 GB, free: 3.793 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: 8.97248124703765]