Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001334/0.001334, allocations: 88.22 kB / 20.18 MB, free: 4.352 MB / 18.57 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.001403/0.001403, allocations: 169 kB / 23.5 MB, free: 1.039 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 0.965/0.965, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.131/2.131, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.669e-05, allocations: 8.281 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001696/0.001723, allocations: 1.338 MB / 0.8795 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006881/0.002411, allocations: 0.5693 MB / 0.8801 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.002435, allocations: 0 / 0.8801 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.002456, allocations: 3.938 kB / 0.8801 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.002501, allocations: 7.922 kB / 0.8801 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.002835, allocations: 100.7 kB / 0.8802 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.002892, allocations: 19.86 kB / 0.8802 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.002929, allocations: 5.594 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.002979, allocations: 7.938 kB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.003043, allocations: 7.984 kB / 0.8802 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003057, allocations: 0 / 0.8802 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.003258, allocations: 138.1 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.003274, allocations: 11.92 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.003292, allocations: 4 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.003463, allocations: 99.75 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003465, allocations: 0 / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003466, allocations: 0 / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.003472, allocations: 4 kB / 0.8804 GB, free: 4.359 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003131/0.003785, allocations: 378.6 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.003823, allocations: 15.97 kB / 0.8808 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.004114, allocations: 32.84 kB / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/0.004198, allocations: 124.5 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.004211, allocations: 8.375 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.004222, allocations: 4.375 kB / 0.881 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.004336, allocations: 54.94 kB / 0.881 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.004342, allocations: 192 / 0.881 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004352, allocations: 384 / 0.881 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.004358, allocations: 384 / 0.881 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.0044, allocations: 23.92 kB / 0.8811 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.004522, allocations: 120.6 kB / 0.8812 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/0.004584, allocations: 47.02 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.004611, allocations: 15.75 kB / 0.8812 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.004627, allocations: 0 / 0.8812 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.004647, allocations: 37.39 kB / 0.8813 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.004647, allocations: 0 / 0.8813 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001619/0.004809, allocations: 61.77 kB / 0.8813 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.00484, allocations: 59.38 kB / 0.8814 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.004911, allocations: 157.9 kB / 0.8815 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.004922, allocations: 25.7 kB / 0.8816 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.004957, allocations: 126.9 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.004982, allocations: 11.94 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005013, allocations: 19.38 kB / 0.8817 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.005125, allocations: 492.1 kB / 0.8822 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.005147, allocations: 11.98 kB / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.005162, allocations: 8 kB / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.005205, allocations: 27.73 kB / 0.8822 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005207, allocations: 0 / 0.8822 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.852e-05/0.005276, allocations: 49.62 kB / 0.8823 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.005289, allocations: 8 kB / 0.8823 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.005294, allocations: 0 / 0.8823 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005306, allocations: 0 / 0.8823 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.005374, allocations: 7.984 kB / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.005379, allocations: 0 / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.005404, allocations: 15.97 kB / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005409, allocations: 3.938 kB / 0.8823 GB, free: 2.242 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 6.063e-05/0.00547, allocations: 156.6 kB / 0.8825 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.005479, allocations: 4 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.005507, allocations: 3.312 kB / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005508, allocations: 0 / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.005511, allocations: 0 / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005514, allocations: 3.938 kB / 0.8825 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.677e-05/0.005581, allocations: 124.6 kB / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005582, allocations: 0 / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.005609, allocations: 4 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.005611, allocations: 4 kB / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.00562, allocations: 3.984 kB / 0.8826 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00562, allocations: 0 / 0.8826 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005621, allocations: 0 / 0.8826 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.005714, allocations: 92.27 kB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.005749, allocations: 11.98 kB / 0.8827 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.005762, allocations: 4 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.005783, allocations: 8.031 kB / 0.8827 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.005797, allocations: 192 / 0.8827 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.005801, allocations: 3.984 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.005838, allocations: 127.2 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005838, allocations: 0 / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001405/0.005979, allocations: 15.88 kB / 0.8828 GB, free: 1.617 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.000137/0.006116, allocations: 111.2 kB / 0.883 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.401e-05/0.00621, allocations: 35.67 kB / 0.883 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006211, allocations: 0 / 0.883 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.006233, allocations: 23.61 kB / 0.883 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.006389, allocations: 10.95 kB / 0.883 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.006906, allocations: 114.4 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.006937, allocations: 63.47 kB / 0.8832 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.405e-05/0.006981, allocations: 11.94 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.007007, allocations: 8.5 kB / 0.8832 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.007008, allocations: 3.938 kB / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.002433/0.00944, allocations: 0.8087 MB / 0.884 GB, free: 408 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.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: 5.352594023104757]