Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001957/0.001957, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002682/0.002682, allocations: 169.9 kB / 22.46 MB, free: 5.359 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.897/2.897, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.209e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002894/0.002926, allocations: 1.438 MB / 1.002 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.004098, allocations: 0.5568 MB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.004138, allocations: 0 / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.004169, allocations: 0 / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.004251, allocations: 11.92 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.004776, allocations: 99.5 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.004861, allocations: 27.86 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.004953, allocations: 4 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.005018, allocations: 11.98 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.005075, allocations: 11.97 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.005091, allocations: 0 / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.005413, allocations: 147.7 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.005428, allocations: 0 / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.005462, allocations: 12 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.005774, allocations: 123.6 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.005777, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005778, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005783, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 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.0005603/0.006343, allocations: 286.1 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.006397, allocations: 8.031 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.006893, allocations: 32.91 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.007012, allocations: 109.7 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.007028, allocations: 4.375 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.007041, allocations: 384 / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.0073, allocations: 70.19 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00731, allocations: 192 / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007323, allocations: 4.312 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007328, allocations: 384 / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.007605, allocations: 63.81 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.008065, allocations: 212.6 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.0083, allocations: 58.47 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.008442, allocations: 36.89 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.008463, allocations: 0 / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.008491, allocations: 30.56 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.008492, allocations: 7.938 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005433/0.009036, allocations: 121.5 kB / 1.003 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.009081, allocations: 51.41 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.00917, allocations: 93.86 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.009189, allocations: 25.7 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.009248, allocations: 88.14 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.009269, allocations: 3.953 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.009317, allocations: 17.7 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.009453, allocations: 314.8 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.009596, allocations: 32.09 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.009721, allocations: 23.97 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.009985, allocations: 60.73 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009986, allocations: 4.062 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003334/0.01032, allocations: 81.64 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01034, allocations: 8 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01035, allocations: 3.938 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.01036, allocations: 0 / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.0105, allocations: 15.97 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01051, allocations: 4.031 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.0106, allocations: 15.94 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.01061, allocations: 0 / 1.004 GB, free: 2.832 MB / 0.9512 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 8.247e-05/0.01069, allocations: 109.8 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.01072, allocations: 0 / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.01077, allocations: 11.25 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01078, allocations: 0 / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01078, allocations: 8 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01078, allocations: 3.938 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.01094, allocations: 117.3 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01094, allocations: 4 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.01105, allocations: 15.97 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01105, allocations: 0 / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01106, allocations: 7.875 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01107, allocations: 3.938 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01107, allocations: 0 / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.01145, allocations: 183.5 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.01146, allocations: 0 / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01147, allocations: 0 / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.0116, allocations: 19.92 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.01163, allocations: 0 / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01164, allocations: 3.984 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.01169, allocations: 83.45 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01169, allocations: 4.031 kB / 1.005 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002492/0.01194, allocations: 15.94 kB / 1.005 GB, free: 2.191 MB / 0.9512 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.0001912/0.01213, allocations: 115.1 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.01246, allocations: 59.94 kB / 1.005 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01247, allocations: 64 / 1.005 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.01261, allocations: 31.97 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01291, allocations: 2.344 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.0134, allocations: 144.8 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.01346, allocations: 59.34 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.073e-05/0.01353, allocations: 16 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.01358, allocations: 12.5 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.01358, allocations: 0 / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of Templates: time 0.003749/0.01733, allocations: 0.8134 MB / 1.006 GB, free: 0.9023 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.193577341735363]