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.001776/0.001776, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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.00218/0.00218, allocations: 157.7 kB / 22.75 MB, free: 1.676 MB / 18.57 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.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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 3.295/3.295, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.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.392e-06/1.392e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.85e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002682/0.00271, allocations: 1.438 MB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.003239, allocations: 210.2 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.003268, allocations: 1.688 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.003295, allocations: 0 / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.003346, allocations: 7.875 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.003584, allocations: 32.33 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.003662, allocations: 19.92 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.003751, allocations: 9.344 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.003809, allocations: 15.92 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.003847, allocations: 7.984 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.003864, allocations: 4.594 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.003958, allocations: 31.91 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.003972, allocations: 4.5 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.003999, allocations: 4.656 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004142, allocations: 51.81 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004144, allocations: 1.594 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004145, allocations: 0 / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.00415, allocations: 0 / 0.8794 GB, free: 4.691 MB / 0.8386 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.0004968/0.004647, allocations: 268.2 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.004689, allocations: 8.031 kB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.004878, allocations: 20.81 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.005009, allocations: 105.8 kB / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.00502, allocations: 384 / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.005028, allocations: 3.062 kB / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.005214, allocations: 50.23 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.005225, allocations: 4.188 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005234, allocations: 4.312 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005238, allocations: 384 / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.005502, allocations: 40.61 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.005851, allocations: 189.9 kB / 0.88 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.006003, allocations: 38.59 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.006099, allocations: 24.91 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.006116, allocations: 0 / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.006154, allocations: 34.5 kB / 0.8801 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.006155, allocations: 0 / 0.8801 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/0.006531, allocations: 85.58 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.006575, allocations: 51.41 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.006675, allocations: 105.8 kB / 0.8803 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.006698, allocations: 29.83 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.006755, allocations: 84.09 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.006779, allocations: 11.89 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.006815, allocations: 13.72 kB / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.006977, allocations: 314.8 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.007072, allocations: 23.97 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.007147, allocations: 15.92 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.007313, allocations: 40.89 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.007314, allocations: 0 / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002112/0.007526, allocations: 69.66 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.007542, allocations: 6.812 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.007548, allocations: 3.938 kB / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.007566, allocations: 0 / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.007657, allocations: 11.98 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.007662, allocations: 4.031 kB / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.00772, allocations: 7.984 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.007725, allocations: 192 / 0.881 GB, free: 2.887 MB / 0.8386 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.0001005/0.007825, allocations: 109.8 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.007849, allocations: 4 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.008115, allocations: 80.89 kB / 0.8811 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.008121, allocations: 3.984 kB / 0.8811 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.008126, allocations: 4 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.008128, allocations: 0 / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.008281, allocations: 109.3 kB / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008282, allocations: 0 / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.008352, allocations: 7.984 kB / 0.8813 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.008357, allocations: 4 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008364, allocations: 0 / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.008367, allocations: 3.938 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008368, allocations: 0 / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.00866, allocations: 179.4 kB / 0.8814 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.008667, allocations: 0 / 0.8814 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.008695, allocations: 4 kB / 0.8814 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.00879, allocations: 11.94 kB / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.008835, allocations: 7.984 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.008838, allocations: 0 / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.00889, allocations: 79.28 kB / 0.8815 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008891, allocations: 0 / 0.8815 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002243/0.009115, allocations: 4 kB / 0.8815 GB, free: 2.223 MB / 0.8386 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.0001364/0.009251, allocations: 107.2 kB / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.009466, allocations: 39.84 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009467, allocations: 0 / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.009562, allocations: 27.97 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.009881, allocations: 5.125 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.01019, allocations: 108.8 kB / 0.8818 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.01027, allocations: 71.27 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.0103, allocations: 0 / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.01033, allocations: 12.5 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.01034, allocations: 0 / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of Templates: time 0.003107/0.01344, allocations: 0.6537 MB / 0.8825 GB, free: 1.164 MB / 0.8386 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.231893305899575]