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.001202/0.001202, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002052/0.003254, allocations: 449.7 kB / 10.37 MB, free: 328 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.001217/0.001217, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002731, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.942/0.942, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09524/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.902/1.902, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.534/2.436, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.213e-05, allocations: 10.77 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002003/0.002015, allocations: 1.514 MB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.002741, allocations: 0.6021 MB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.002762, allocations: 0 / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.002781, allocations: 0 / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.029e-05/0.002811, allocations: 10.77 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.003047, allocations: 91.91 kB / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.981e-05/0.003107, allocations: 28.2 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.003174, allocations: 7.984 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.003236, allocations: 24.58 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.788e-05/0.003274, allocations: 9.078 kB / 0.7316 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.003285, allocations: 4.688 kB / 0.7316 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.00354, allocations: 147.7 kB / 0.7317 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.00355, allocations: 5.656 kB / 0.7317 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.003565, allocations: 7.938 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.003747, allocations: 91.73 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.003761, allocations: 0 / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003762, allocations: 0.9688 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.003777, allocations: 4 kB / 0.7318 GB, free: 2.039 MB / 0.698 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.0003449/0.004122, allocations: 269.1 kB / 0.7321 GB, free: 1.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.004152, allocations: 8.031 kB / 0.7321 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.004469, allocations: 106.9 kB / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.086e-05/0.00455, allocations: 118.6 kB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004559, allocations: 4.375 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.004567, allocations: 1.094 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.004689, allocations: 63.52 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004695, allocations: 2 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.004703, allocations: 384 / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004707, allocations: 384 / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.004743, allocations: 15.92 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.004974, allocations: 160.9 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.005042, allocations: 35.89 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.005061, allocations: 10.05 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.005076, allocations: 0 / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.005099, allocations: 38.55 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.005099, allocations: 0.7188 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.005219, allocations: 47.16 kB / 0.7326 GB, free: 1.066 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.005249, allocations: 63.28 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.005302, allocations: 102.7 kB / 0.7328 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.005314, allocations: 26.58 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.005344, allocations: 88.08 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005361, allocations: 9.734 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.005391, allocations: 9.719 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.00547, allocations: 322.8 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.005486, allocations: 4 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.005501, allocations: 4.875 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.005537, allocations: 17.69 kB / 0.7333 GB, free: 392 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005538, allocations: 0 / 0.7333 GB, free: 392 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.53e-05/0.005604, allocations: 50.88 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.005614, allocations: 4 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.00562, allocations: 5.156 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.005629, allocations: 8.125 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.005708, allocations: 15.91 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.00571, allocations: 1.031 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.005741, allocations: 4 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.005747, allocations: 0.5312 kB / 0.7334 GB, free: 300 kB / 0.698 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 5.082e-05/0.005798, allocations: 111.6 kB / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.005819, allocations: 7.969 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.005845, allocations: 7.312 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.005847, allocations: 1.219 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.005849, allocations: 3.938 kB / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005852, allocations: 0 / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.00595, allocations: 66.64 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005952, allocations: 4 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.005996, allocations: 12.52 kB / 0.7336 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.006002, allocations: 4.75 kB / 0.7336 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.006003, allocations: 0 / 0.7336 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.00601, allocations: 5.328 kB / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006011, allocations: 0 / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.006012, allocations: 3.938 kB / 0.7336 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.006116, allocations: 140.3 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.006128, allocations: 4.5 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.006189, allocations: 2.625 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.006211, allocations: 7.984 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.006215, allocations: 0 / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.334e-05/0.006228, allocations: 12.8 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006228, allocations: 0 / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001851/0.006414, allocations: 19.94 kB / 0.7337 GB, free: 15.84 MB / 0.7136 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.0001076/0.006521, allocations: 90.78 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.006588, allocations: 20.84 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.006594, allocations: 7.938 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.006616, allocations: 12.84 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.006776, allocations: 13.61 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.007495, allocations: 133.6 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.007529, allocations: 52.33 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.007583, allocations: 14.34 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.007648, allocations: 55.36 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.007649, allocations: 0 / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.002653/0.0103, allocations: 1.015 MB / 0.7351 GB, free: 14.43 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.908642336726189]