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.001136/0.001136, allocations: 93.06 kB / 19.65 MB, free: 276 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.001269/0.001269, allocations: 169 kB / 23.02 MB, free: 1.547 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.9283/0.9283, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.052/2.052, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.853e-06/1.853e-06, allocations: 0.5469 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.519e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001722/0.001747, allocations: 1.354 MB / 0.8795 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.002425, allocations: 0.5709 MB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.002445, allocations: 0 / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.002466, allocations: 7.984 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.002511, allocations: 3.938 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.002861, allocations: 88.98 kB / 0.8801 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.002919, allocations: 27.78 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.002954, allocations: 4 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.003003, allocations: 12.98 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.003045, allocations: 4 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.003059, allocations: 1.125 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.003261, allocations: 139.7 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.003274, allocations: 0 / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.003293, allocations: 4 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.003459, allocations: 116.7 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003461, allocations: 0 / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003462, allocations: 0 / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003466, allocations: 1.031 kB / 0.8804 GB, free: 3.992 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.0003194/0.003786, allocations: 376.4 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.003824, allocations: 12.91 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/0.004107, allocations: 35.61 kB / 0.8808 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.004183, allocations: 116.6 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004194, allocations: 4.375 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.004203, allocations: 384 / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.004323, allocations: 60.69 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.004329, allocations: 192 / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004339, allocations: 384 / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.004345, allocations: 384 / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.004384, allocations: 24.48 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.004504, allocations: 120.6 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.004566, allocations: 44.73 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.004592, allocations: 15.75 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.004608, allocations: 0.5 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.004627, allocations: 33.39 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004627, allocations: 1.781 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.004791, allocations: 61.61 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.004819, allocations: 59.34 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.004884, allocations: 166.6 kB / 0.8815 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.004893, allocations: 25.7 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.004922, allocations: 127.7 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.004946, allocations: 3.953 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.005107, allocations: 20.97 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003646/0.005471, allocations: 0.4884 MB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.005497, allocations: 8 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.005514, allocations: 12.11 kB / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.005559, allocations: 19.69 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.005561, allocations: 3.938 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.055e-05/0.005632, allocations: 49.69 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005645, allocations: 8 kB / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005649, allocations: 0 / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005661, allocations: 3.984 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.00574, allocations: 4 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.005745, allocations: 4.094 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.005768, allocations: 3.938 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005774, allocations: 7.984 kB / 0.8823 GB, free: 1.898 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 5.892e-05/0.005833, allocations: 152.6 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-06/0.005842, allocations: 4 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.005873, allocations: 7.312 kB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005874, allocations: 0 / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005878, allocations: 0 / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.005881, allocations: 7.938 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.542e-05/0.005947, allocations: 120.6 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005948, allocations: 0 / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.005979, allocations: 11.92 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005981, allocations: 4 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.005989, allocations: 0 / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.005991, allocations: 4 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005992, allocations: 0 / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.431e-05/0.006086, allocations: 88.36 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.00612, allocations: 11.97 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006131, allocations: 192 / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.006151, allocations: 3.938 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.006166, allocations: 11.97 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.00617, allocations: 0 / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.006201, allocations: 127.2 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006201, allocations: 0 / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001363/0.006337, allocations: 11.94 kB / 0.8828 GB, free: 1.273 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.0001234/0.00646, allocations: 111.2 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.006594, allocations: 39.61 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006596, allocations: 0 / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.00662, allocations: 19.67 kB / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.006761, allocations: 7.984 kB / 0.883 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.007233, allocations: 130.4 kB / 0.8831 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.007263, allocations: 55.36 kB / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.007303, allocations: 11.94 kB / 0.8832 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.007328, allocations: 8.5 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/0.007329, allocations: 0 / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of Templates: time 0.00245/0.009779, allocations: 0.8708 MB / 0.8841 GB, free: 15.98 MB / 0.8542 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.135295302607119]