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.001865/0.001865, allocations: 85.48 kB / 19.44 MB, free: 344 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.001991/0.001991, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.549/1.549, 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.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.423e-06/1.423e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.783e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002689/0.002716, allocations: 1.444 MB / 0.8788 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005179/0.003234, allocations: 218.5 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.00326, allocations: 1.438 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.003284, allocations: 3.938 kB / 0.8791 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.00334, allocations: 9.141 kB / 0.8791 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.003561, allocations: 33.11 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.003643, allocations: 23.88 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/0.003718, allocations: 3.984 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.003775, allocations: 8.906 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.00381, allocations: 11.98 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.003826, allocations: 4 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.003922, allocations: 33.25 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.00394, allocations: 7.984 kB / 0.8792 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.00396, allocations: 4 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.0041, allocations: 44.91 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004103, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004103, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004107, allocations: 0.5 kB / 0.8792 GB, free: 4.867 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.0004978/0.004605, allocations: 369.6 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.004639, allocations: 8.031 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.004818, allocations: 20.81 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.004934, allocations: 113.7 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.004945, allocations: 384 / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.004953, allocations: 4.375 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.0051, allocations: 53.58 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.005108, allocations: 192 / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005116, allocations: 384 / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.00512, allocations: 384 / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.00524, allocations: 31.91 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.005626, allocations: 243.9 kB / 0.88 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.005742, allocations: 42.98 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.005807, allocations: 20.34 kB / 0.8801 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.005823, allocations: 1.531 kB / 0.8801 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.005856, allocations: 37.38 kB / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005857, allocations: 0 / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002831/0.00614, allocations: 73.58 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.006186, allocations: 51.41 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.006312, allocations: 165.9 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.006335, allocations: 25.7 kB / 0.8804 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.006417, allocations: 126.9 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.006444, allocations: 19.83 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.00649, allocations: 19.36 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002556/0.006745, allocations: 496.1 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.006799, allocations: 8 kB / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.006848, allocations: 12.11 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.006948, allocations: 31.73 kB / 0.8811 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.006952, allocations: 4 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.007094, allocations: 49.69 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.007112, allocations: 4 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.007123, allocations: 7.922 kB / 0.8812 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.007139, allocations: 4 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.007214, allocations: 11.94 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.007219, allocations: 4.031 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.007265, allocations: 7.938 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.007271, allocations: 0 / 0.8812 GB, free: 2.641 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.0001201/0.007391, allocations: 156.6 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.007418, allocations: 4 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.007627, allocations: 64.92 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.007632, allocations: 4 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.007635, allocations: 0 / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.007637, allocations: 0 / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.007796, allocations: 120.6 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.007799, allocations: 4 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.007854, allocations: 8 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007855, allocations: 0 / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.007862, allocations: 0 / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.007868, allocations: 7.875 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007869, allocations: 0 / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.008117, allocations: 211.9 kB / 0.8818 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-06/0.008124, allocations: 288 / 0.8818 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.008141, allocations: 7.984 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.008217, allocations: 7.938 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.008263, allocations: 11.98 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.008266, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.008342, allocations: 127.2 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008342, allocations: 0 / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002079/0.00855, allocations: 4 kB / 0.8819 GB, free: 1.844 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.000127/0.008677, allocations: 95.25 kB / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.008851, allocations: 43.61 kB / 0.882 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.008853, allocations: 4.062 kB / 0.882 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.008923, allocations: 23.67 kB / 0.8821 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.009173, allocations: 8 kB / 0.8821 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.009487, allocations: 118.4 kB / 0.8822 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.876e-05/0.009556, allocations: 63.22 kB / 0.8823 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.009584, allocations: 4 kB / 0.8823 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.009622, allocations: 16.48 kB / 0.8823 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.009623, allocations: 7.875 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of Templates: time 0.003773/0.0134, allocations: 0.6344 MB / 0.8829 GB, free: 0.7812 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=240 -emit_protected -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","/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.36423039692454]