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.001305/0.001305, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001498/0.001498, allocations: 161 kB / 24.17 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 0.9727/0.9727, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.252e-06/1.252e-06, allocations: 0.875 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.123e-05, allocations: 5.547 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001936/0.001947, allocations: 1.718 MB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005008/0.002448, allocations: 420.9 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.002505, allocations: 0 / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.265e-05/0.002598, allocations: 12.73 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.002646, allocations: 23.33 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.002949, allocations: 113.9 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.003069, allocations: 115.5 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.003155, allocations: 31.89 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.003261, allocations: 63.88 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.00331, allocations: 29.12 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.003326, allocations: 8 kB / 0.7625 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.00341, allocations: 59.89 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.003433, allocations: 26.02 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.003459, allocations: 31.91 kB / 0.7626 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003605, allocations: 119.6 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003607, allocations: 3.984 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.81e-07/0.003607, allocations: 0 / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.00361, allocations: 0 / 0.7627 GB, free: 3.941 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.000321/0.003931, allocations: 313.2 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.003957, allocations: 8.906 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.004099, allocations: 41.44 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.004228, allocations: 140.6 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.00427, allocations: 55.97 kB / 0.7632 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.004285, allocations: 8.375 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.004403, allocations: 112.6 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.004409, allocations: 1.375 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004419, allocations: 4.375 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004425, allocations: 8.125 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.004475, allocations: 28.45 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.004775, allocations: 229.5 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.00499, allocations: 99.11 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.00501, allocations: 14.77 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.005018, allocations: 4 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.005038, allocations: 34.56 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005039, allocations: 0 / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001074/0.005147, allocations: 72.5 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.005168, allocations: 51.41 kB / 0.7639 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.005224, allocations: 129.5 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005235, allocations: 25.7 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.005327, allocations: 104 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.005342, allocations: 23.78 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.00537, allocations: 21.7 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.005434, allocations: 322.8 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005446, allocations: 9.75 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.005466, allocations: 17.72 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.005502, allocations: 33.69 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.005504, allocations: 8.812 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.903e-05/0.005563, allocations: 65.67 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005574, allocations: 10.38 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005579, allocations: 3.984 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.005592, allocations: 0.5 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.892e-05/0.005641, allocations: 22.98 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005644, allocations: 0.5469 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.00567, allocations: 7.938 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.005675, allocations: 4 kB / 0.7646 GB, free: 1.781 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 4.858e-05/0.005724, allocations: 113.8 kB / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.005742, allocations: 7.984 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.00576, allocations: 16.44 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005761, allocations: 0 / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005762, allocations: 2.438 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005765, allocations: 0 / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.923e-05/0.005854, allocations: 85.83 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.005854, allocations: 0 / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.005887, allocations: 15.98 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005888, allocations: 3.938 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.005892, allocations: 1.25 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.005893, allocations: 0 / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.005895, allocations: 7.938 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.659e-05/0.005971, allocations: 155.5 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.005979, allocations: 8.812 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.005987, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.006038, allocations: 9.141 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.006063, allocations: 8 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.00607, allocations: 7.922 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.57e-05/0.006086, allocations: 24.22 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006086, allocations: 0 / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001307/0.006217, allocations: 27.89 kB / 0.7651 GB, free: 1.258 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 6.349e-05/0.00628, allocations: 80.41 kB / 0.7652 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.312e-05/0.006343, allocations: 32.8 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.006345, allocations: 0 / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.006367, allocations: 24.78 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.00652, allocations: 23.48 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.006889, allocations: 208.5 kB / 0.7655 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.006918, allocations: 59.36 kB / 0.7655 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.006952, allocations: 10.92 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.007043, allocations: 79.31 kB / 0.7656 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.007044, allocations: 0 / 0.7656 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of Templates: time 0.002628/0.009672, allocations: 1.439 MB / 0.767 GB, free: 15.33 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 -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: 4.688350682146847]