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.001636/0.001636, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001308/0.001308, allocations: 173 kB / 23.49 MB, free: 1.059 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.9595/0.9595, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.104/2.104, allocations: 429.5 MB / 0.6736 GB, free: 4.07 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.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.743e-06/1.743e-06, allocations: 0 / 0.8782 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.864e-05, allocations: 7.281 kB / 0.8782 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001858/0.001887, allocations: 1.472 MB / 0.8796 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.002629, allocations: 0.597 MB / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.00266, allocations: 1.5 kB / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.002685, allocations: 0 / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.002735, allocations: 7.922 kB / 0.8802 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.003062, allocations: 104.6 kB / 0.8803 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.003124, allocations: 23.92 kB / 0.8803 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.003209, allocations: 7.375 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.003259, allocations: 15.97 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.003301, allocations: 11.92 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.003315, allocations: 0 / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.003502, allocations: 139.7 kB / 0.8805 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.003515, allocations: 7.938 kB / 0.8805 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.003535, allocations: 8 kB / 0.8805 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.003715, allocations: 111.7 kB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003718, allocations: 0.5938 kB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003719, allocations: 0 / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003724, allocations: 5.531 kB / 0.8806 GB, free: 4.211 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.0003466/0.00407, allocations: 384.3 kB / 0.881 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.004107, allocations: 8.031 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.004408, allocations: 42.34 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.004492, allocations: 104.6 kB / 0.8811 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.004505, allocations: 8.375 kB / 0.8811 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004514, allocations: 384 / 0.8811 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.004666, allocations: 70.86 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004673, allocations: 192 / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.004682, allocations: 384 / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.004691, allocations: 4.375 kB / 0.8812 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.004738, allocations: 19.91 kB / 0.8812 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.005057, allocations: 271.7 kB / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.005135, allocations: 47.05 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.005166, allocations: 23.69 kB / 0.8815 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.005181, allocations: 0 / 0.8815 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.0052, allocations: 33.39 kB / 0.8816 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.005201, allocations: 0 / 0.8816 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.005374, allocations: 65.56 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.005401, allocations: 55.53 kB / 0.8817 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.005467, allocations: 161.9 kB / 0.8818 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.005479, allocations: 29.7 kB / 0.8819 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.005521, allocations: 126.9 kB / 0.882 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.005539, allocations: 3.953 kB / 0.882 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.005572, allocations: 27.36 kB / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.005671, allocations: 492.1 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.005696, allocations: 11.94 kB / 0.8825 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.005715, allocations: 7.984 kB / 0.8825 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.005759, allocations: 27.75 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005761, allocations: 0 / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.603e-05/0.005837, allocations: 53.62 kB / 0.8826 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.00585, allocations: 7.984 kB / 0.8826 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.005856, allocations: 3.938 kB / 0.8826 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005868, allocations: 0 / 0.8826 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.005942, allocations: 15.98 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.005948, allocations: 3.938 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.005977, allocations: 8.031 kB / 0.8826 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005982, allocations: 0 / 0.8826 GB, free: 1.926 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.885e-05/0.006041, allocations: 156.6 kB / 0.8828 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.006058, allocations: 4 kB / 0.8828 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.00609, allocations: 11.23 kB / 0.8828 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006092, allocations: 0 / 0.8828 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.006095, allocations: 0 / 0.8828 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006098, allocations: 4 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.327e-05/0.006191, allocations: 124.6 kB / 0.8829 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006192, allocations: 0 / 0.8829 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.006228, allocations: 7.984 kB / 0.8829 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00623, allocations: 4 kB / 0.8829 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.006237, allocations: 0 / 0.8829 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006239, allocations: 3.938 kB / 0.8829 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.00624, allocations: 3.984 kB / 0.8829 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006359, allocations: 199.9 kB / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.006364, allocations: 4 kB / 0.8831 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006376, allocations: 8.031 kB / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.006424, allocations: 7.938 kB / 0.8831 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.006456, allocations: 3.984 kB / 0.8832 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.006459, allocations: 0 / 0.8832 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002809/0.00674, allocations: 123.2 kB / 0.8833 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00674, allocations: 0 / 0.8833 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001582/0.006899, allocations: 15.94 kB / 0.8833 GB, free: 1.191 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.0001295/0.007028, allocations: 111.2 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.007124, allocations: 31.67 kB / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007125, allocations: 0 / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.007151, allocations: 23.61 kB / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.007345, allocations: 15.92 kB / 0.8835 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.007782, allocations: 130.4 kB / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.278e-05/0.007815, allocations: 59.34 kB / 0.8836 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.007858, allocations: 11.94 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.00789, allocations: 16.5 kB / 0.8837 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of SimCode: time 7.21e-07/0.007891, allocations: 0 / 0.8837 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of Templates: time 0.002559/0.01045, allocations: 0.9533 MB / 0.8846 GB, free: 15.8 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_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.369060648838058]