Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009994/0.0009994, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001028/0.001028, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.483/2.483, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.433e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00234/0.002364, allocations: 1.766 MB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005993/0.002963, allocations: 414.5 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.003031, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.003142, allocations: 7.875 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.00319, allocations: 23.78 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.003539, allocations: 115.6 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003682, allocations: 115.4 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003784, allocations: 27.92 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.003876, allocations: 63.86 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.003935, allocations: 31.91 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.003954, allocations: 8 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.004081, allocations: 63.94 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.004102, allocations: 15.98 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.004133, allocations: 35.91 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.004304, allocations: 123.5 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.004307, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004308, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004311, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 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.000355/0.004666, allocations: 312.1 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.004698, allocations: 8.031 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.004874, allocations: 48.77 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.005029, allocations: 129.7 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.005085, allocations: 63.95 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.005097, allocations: 4.375 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.005237, allocations: 122.7 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.005244, allocations: 192 / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.005253, allocations: 4.312 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.005261, allocations: 8.125 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.005317, allocations: 27.98 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.005688, allocations: 232 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.005924, allocations: 94.45 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.005948, allocations: 16.86 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.005961, allocations: 4 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.005982, allocations: 30.56 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.005984, allocations: 0 / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001313/0.006115, allocations: 69.75 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.006139, allocations: 59.39 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.006201, allocations: 126.3 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006214, allocations: 29.64 kB / 0.8427 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.006246, allocations: 96.06 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.006266, allocations: 27.75 kB / 0.8428 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.006298, allocations: 25.69 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.006369, allocations: 318.8 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.006386, allocations: 8 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.00641, allocations: 25.7 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.006455, allocations: 41.62 kB / 0.8432 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.006458, allocations: 3.938 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.615e-05/0.006534, allocations: 53.69 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006549, allocations: 11.98 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006553, allocations: 0 / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.006565, allocations: 0 / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.006628, allocations: 15.94 kB / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006632, allocations: 4 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.006661, allocations: 11.92 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006667, allocations: 4 kB / 0.8433 GB, free: 9.199 MB / 0.8073 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 5.373e-05/0.006721, allocations: 113.8 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.006743, allocations: 11.98 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.006765, allocations: 16.42 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.006766, allocations: 0 / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006768, allocations: 0 / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00677, allocations: 0 / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.007138, allocations: 89.86 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.00714, allocations: 0 / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.007183, allocations: 19.92 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007186, allocations: 3.938 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.007191, allocations: 8 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007192, allocations: 0 / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.007193, allocations: 0 / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.007287, allocations: 143.5 kB / 0.8437 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.007298, allocations: 15.88 kB / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.007308, allocations: 4 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.007366, allocations: 4 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.007393, allocations: 3.984 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.007401, allocations: 4 kB / 0.8437 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.89e-05/0.00742, allocations: 28.77 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.00742, allocations: 0 / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001365/0.007557, allocations: 27.89 kB / 0.8437 GB, free: 8.672 MB / 0.8073 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 8.251e-05/0.007639, allocations: 80.36 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.212e-05/0.007711, allocations: 36.84 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.007714, allocations: 0 / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.00774, allocations: 29.55 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.007927, allocations: 30.02 kB / 0.8439 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.00838, allocations: 204.6 kB / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.008416, allocations: 63.34 kB / 0.8442 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.744e-05/0.008463, allocations: 8 kB / 0.8442 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.008567, allocations: 75.33 kB / 0.8442 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.008567, allocations: 0 / 0.8442 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of Templates: time 0.003363/0.01193, allocations: 1.443 MB / 0.8457 GB, free: 6.688 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.3969424781389534]