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.00184/0.00184, allocations: 88.72 kB / 19.44 MB, free: 356 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.002336/0.002336, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.25/3.25, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.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 1.773e-06/1.773e-06, allocations: 0 / 0.8776 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.344e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004087/0.00412, allocations: 1.444 MB / 0.879 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.005816, allocations: 0.5559 MB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.005842, allocations: 0 / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.005872, allocations: 1 kB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.005941, allocations: 7.938 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.006476, allocations: 100.8 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.006563, allocations: 23.92 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.006649, allocations: 11.42 kB / 0.8797 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.006715, allocations: 11.98 kB / 0.8797 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.006766, allocations: 7.938 kB / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.006784, allocations: 4 kB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.007195, allocations: 139.7 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.007213, allocations: 4 kB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.007244, allocations: 7.938 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.007603, allocations: 119.7 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007606, allocations: 0 / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007608, allocations: 0.5938 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.007612, allocations: 0 / 0.8799 GB, free: 4.152 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.0006897/0.008301, allocations: 287.1 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.008348, allocations: 12.03 kB / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007215/0.009069, allocations: 42.91 kB / 0.8803 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.009225, allocations: 105.8 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.009254, allocations: 8.375 kB / 0.8804 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.009269, allocations: 384 / 0.8804 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.00962, allocations: 74.14 kB / 0.8804 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.009636, allocations: 8.156 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.009651, allocations: 384 / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.009656, allocations: 384 / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.01007, allocations: 59.88 kB / 0.8805 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.0107, allocations: 208.6 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.01105, allocations: 58.53 kB / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.01129, allocations: 40.83 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.01131, allocations: 0 / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.01136, allocations: 30.56 kB / 0.8808 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.01136, allocations: 0 / 0.8808 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0008619/0.01222, allocations: 121.5 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.01228, allocations: 55.53 kB / 0.881 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.01241, allocations: 97.84 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.01245, allocations: 25.7 kB / 0.8811 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.01253, allocations: 88.14 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.01256, allocations: 7.891 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.01263, allocations: 21.64 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.01288, allocations: 314.8 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.01309, allocations: 23.97 kB / 0.8816 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.0133, allocations: 31.97 kB / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.01371, allocations: 56.8 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01371, allocations: 0 / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000511/0.01422, allocations: 85.7 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.01424, allocations: 8 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.01425, allocations: 7.875 kB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.01428, allocations: 0 / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.01448, allocations: 19.91 kB / 0.8818 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01449, allocations: 0 / 0.8818 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.01463, allocations: 4 kB / 0.8818 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.01466, allocations: 16.02 kB / 0.8818 GB, free: 2.098 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.0001406/0.0148, allocations: 105.8 kB / 0.8819 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.01485, allocations: 0 / 0.8819 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.01491, allocations: 11.25 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01491, allocations: 0 / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01491, allocations: 0 / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01492, allocations: 0 / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.01519, allocations: 113.3 kB / 0.882 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01519, allocations: 4 kB / 0.882 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.01538, allocations: 15.97 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01538, allocations: 0 / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01539, allocations: 0 / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.0154, allocations: 3.938 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0154, allocations: 0 / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.01604, allocations: 191.4 kB / 0.8822 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.01605, allocations: 0 / 0.8822 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.01608, allocations: 8 kB / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.0163, allocations: 19.92 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.01634, allocations: 0 / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01635, allocations: 0 / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.01644, allocations: 83.27 kB / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01644, allocations: 0 / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004822/0.01692, allocations: 15.94 kB / 0.8823 GB, free: 1.48 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 (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.0002659/0.01718, allocations: 115.6 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.01767, allocations: 55.94 kB / 0.8825 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01767, allocations: 0 / 0.8825 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.01791, allocations: 35.97 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.01841, allocations: 15.92 kB / 0.8825 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.01897, allocations: 124.6 kB / 0.8827 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.0193, allocations: 67.3 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.01942, allocations: 15.98 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.01949, allocations: 16.48 kB / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.01949, allocations: 0 / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of Templates: time 0.005401/0.02489, allocations: 0.9363 MB / 0.8837 GB, free: 72 kB / 0.8386 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.095513015985489]