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.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.0007305/0.0007305, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.00174, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007665/0.0007665, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001778, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09015/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.404/2.404, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2572/2.662, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: 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 1.282e-06/1.282e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.055e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001963/0.001984, allocations: 1.525 MB / 0.8204 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.002275, allocations: 223.2 kB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.0023, allocations: 0 / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.00232, allocations: 0 / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.153e-05/0.002341, allocations: 0 / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.002441, allocations: 39.83 kB / 0.8207 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.0025, allocations: 19.88 kB / 0.8207 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.002574, allocations: 11.98 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.002643, allocations: 19.97 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.002687, allocations: 0 / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.002703, allocations: 7.938 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.002791, allocations: 31.97 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.002804, allocations: 0 / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.002819, allocations: 8 kB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.002931, allocations: 35.84 kB / 0.8208 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.002943, allocations: 0 / 0.8208 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002944, allocations: 4 kB / 0.8208 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.002957, allocations: 0 / 0.8208 GB, free: 0.5898 MB / 0.7917 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.0003423/0.003299, allocations: 252.5 kB / 0.821 GB, free: 324 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.00333, allocations: 12.03 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.003511, allocations: 86.03 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.003598, allocations: 113.8 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.003613, allocations: 384 / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.003623, allocations: 384 / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.003717, allocations: 50.95 kB / 0.8213 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003723, allocations: 4.188 kB / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.00373, allocations: 384 / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.003737, allocations: 4.375 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.00377, allocations: 7.984 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.003995, allocations: 160.2 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/0.004039, allocations: 18.58 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.00405, allocations: 8.859 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.004062, allocations: 0 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.004082, allocations: 34.62 kB / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.004083, allocations: 0 / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.00419, allocations: 49.62 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.004217, allocations: 55.34 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.004264, allocations: 102.7 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004272, allocations: 25.7 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.004299, allocations: 88.12 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.004313, allocations: 3.953 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.004335, allocations: 13.72 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.004402, allocations: 310.8 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.004411, allocations: 3.938 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.004419, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.004442, allocations: 21.02 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004444, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.253e-05/0.004486, allocations: 41.64 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.004498, allocations: 5.406 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004503, allocations: 0 / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.004516, allocations: 3.984 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.004581, allocations: 11.94 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004583, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.004599, allocations: 3.953 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.004605, allocations: 8.031 kB / 0.8222 GB, free: 14.94 MB / 0.8073 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 4.785e-05/0.004653, allocations: 109.8 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.004664, allocations: 0 / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.962e-05/0.004744, allocations: 48.94 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.004746, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.004748, allocations: 7.938 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.004752, allocations: 4 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.584e-05/0.004828, allocations: 65.89 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.004829, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.004858, allocations: 12.23 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.004863, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.004865, allocations: 3.984 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.00487, allocations: 3.984 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.004871, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.004874, allocations: 7.938 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.775e-05/0.004942, allocations: 127.5 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.00495, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.00498, allocations: 11.94 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.005006, allocations: 3.984 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.00501, allocations: 4 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.283e-05/0.005022, allocations: 16.78 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005022, allocations: 0 / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001146/0.005137, allocations: 8 kB / 0.8226 GB, free: 14.46 MB / 0.8073 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 8.518e-05/0.005222, allocations: 76.42 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.15e-05/0.005284, allocations: 20.78 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.005289, allocations: 4 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.005309, allocations: 12.86 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.005475, allocations: 39.94 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.00605, allocations: 132.6 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.006078, allocations: 51.36 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.006104, allocations: 7.984 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.006155, allocations: 51.38 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.006156, allocations: 0 / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of Templates: time 0.002112/0.008268, allocations: 0.6732 MB / 0.8237 GB, free: 13.34 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.237284444272518]