Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001003/0.001003, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001016/0.001016, allocations: 165 kB / 24.16 MB, free: 332 kB / 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.049/1.049, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.956/1.956, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.627e-05, allocations: 2.312 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002923/0.00295, allocations: 1.766 MB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006249/0.003574, allocations: 413.4 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.003647, allocations: 4 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-05/0.003746, allocations: 9.641 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.003799, allocations: 22.36 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.004143, allocations: 117.8 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.004271, allocations: 111.5 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.004365, allocations: 33.02 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.004446, allocations: 55.94 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.004503, allocations: 31.89 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.004525, allocations: 8.906 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.004644, allocations: 59.95 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.004667, allocations: 23.91 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.004698, allocations: 36.59 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004865, allocations: 125.3 kB / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004868, allocations: 0 / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004869, allocations: 0 / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004873, allocations: 4 kB / 0.7628 GB, free: 3.855 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003734/0.005247, allocations: 309 kB / 0.7631 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.005284, allocations: 12.03 kB / 0.7631 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.005486, allocations: 42.22 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.005666, allocations: 130.4 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.005722, allocations: 59.91 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.00574, allocations: 17.05 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.005889, allocations: 115.4 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.0059, allocations: 4.172 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.005911, allocations: 4.375 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.00592, allocations: 4.125 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.005981, allocations: 29.86 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.006386, allocations: 229.6 kB / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.006647, allocations: 97.19 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.006676, allocations: 20.86 kB / 0.7638 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.006687, allocations: 0 / 0.7638 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.006715, allocations: 38.5 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.006717, allocations: 0 / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001429/0.00686, allocations: 53.69 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.006896, allocations: 59.39 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.006975, allocations: 128.6 kB / 0.7641 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.006993, allocations: 29.7 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.007038, allocations: 104 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.00706, allocations: 19.8 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.007097, allocations: 25.69 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.00719, allocations: 314.8 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.007208, allocations: 8 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.007237, allocations: 30.55 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.007291, allocations: 42.56 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.007294, allocations: 3.938 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.599e-05/0.00738, allocations: 59.03 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007396, allocations: 4 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.007404, allocations: 3.984 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.007419, allocations: 1.562 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.007488, allocations: 20 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.007491, allocations: 80 / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.007525, allocations: 11.92 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.007533, allocations: 9.266 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.978e-05/0.007603, allocations: 117.7 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.007624, allocations: 4.656 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.007651, allocations: 12.44 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.007655, allocations: 4.828 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007659, allocations: 4 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007662, allocations: 0.5 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.007785, allocations: 85.83 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007787, allocations: 3.438 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.007834, allocations: 19.98 kB / 0.765 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.007838, allocations: 3.938 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.007844, allocations: 0 / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007846, allocations: 0 / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007847, allocations: 0 / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.007975, allocations: 151.5 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.00799, allocations: 11.92 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.008001, allocations: 0 / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.00806, allocations: 10.91 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.008096, allocations: 7.984 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.008103, allocations: 0 / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.008127, allocations: 20.83 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.008127, allocations: 0 / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001474/0.008274, allocations: 31.89 kB / 0.7652 GB, free: 1.172 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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.000123/0.008397, allocations: 77.3 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.477e-05/0.008492, allocations: 32.78 kB / 0.7653 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.008498, allocations: 5.5 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.008523, allocations: 20.86 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.008744, allocations: 24.41 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.009286, allocations: 206.7 kB / 0.7655 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.00933, allocations: 64.22 kB / 0.7656 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.846e-05/0.009388, allocations: 15.55 kB / 0.7656 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.009499, allocations: 79.33 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/0.009501, allocations: 0 / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of Templates: time 0.003369/0.01287, allocations: 1.438 MB / 0.7671 GB, free: 15.25 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.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.069215559400618]