Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.001023/0.001023, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001027/0.001027, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9938/0.9938, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.33/2.33, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.683e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001515/0.001532, allocations: 1.343 MB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.002343, allocations: 0.7824 MB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.002366, allocations: 0 / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.002382, allocations: 4 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.002426, allocations: 15.86 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.002815, allocations: 163.2 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.38e-05/0.002869, allocations: 27.8 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.997e-05/0.002899, allocations: 7.984 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.002949, allocations: 11.98 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.002996, allocations: 7.984 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.003005, allocations: 4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.003224, allocations: 171.6 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.003237, allocations: 4 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.003251, allocations: 11.98 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.003441, allocations: 171.5 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003443, allocations: 0 / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003443, allocations: 0 / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.003446, allocations: 0 / 0.8412 GB, free: 11.47 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002581/0.003704, allocations: 264.2 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.003733, allocations: 12.03 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.004132, allocations: 72.72 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.725e-05/0.004189, allocations: 105.8 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.004198, allocations: 384 / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.004207, allocations: 4.375 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.342e-05/0.004291, allocations: 71.94 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004297, allocations: 4.125 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.004303, allocations: 384 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.004307, allocations: 384 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.004334, allocations: 23.92 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.863e-05/0.004412, allocations: 68.94 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.004494, allocations: 54.59 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.004514, allocations: 16.86 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.004527, allocations: 0 / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004547, allocations: 34.56 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.004548, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 9.766e-05/0.004646, allocations: 61.61 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.004668, allocations: 55.41 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.738e-05/0.004706, allocations: 98.72 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.004715, allocations: 25.7 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.004733, allocations: 80.14 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.004761, allocations: 23.83 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.004786, allocations: 21.66 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.004855, allocations: 318.8 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-06/0.004864, allocations: 8 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-06/0.004873, allocations: 7.984 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.004905, allocations: 32.77 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004907, allocations: 0 / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 4.52e-05/0.004952, allocations: 49.81 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.004961, allocations: 4 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.004964, allocations: 0 / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004974, allocations: 4 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.005052, allocations: 11.98 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005055, allocations: 4 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.005071, allocations: 4 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.005075, allocations: 0 / 0.8427 GB, free: 9.797 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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.971e-05/0.005125, allocations: 117.7 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.005131, allocations: 0 / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.005235, allocations: 77.61 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005236, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005237, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00524, allocations: 4 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.796e-05/0.005298, allocations: 78.2 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005299, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.005343, allocations: 23.98 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.005345, allocations: 4 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-06/0.005349, allocations: 3.938 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00535, allocations: 0 / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.005351, allocations: 3.938 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.84e-05/0.005409, allocations: 89.11 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.005433, allocations: 7.953 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.00544, allocations: 0 / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.005461, allocations: 4 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.005473, allocations: 7.984 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.005476, allocations: 0 / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.715e-06/0.005484, allocations: 4.859 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005484, allocations: 4.094 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.602e-05/0.00558, allocations: 12 kB / 0.8431 GB, free: 9.309 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 6.291e-05/0.005643, allocations: 88.39 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.189e-05/0.005694, allocations: 24.8 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.005697, allocations: 4 kB / 0.8432 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.005711, allocations: 16.84 kB / 0.8433 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.392e-05/0.005795, allocations: 19.92 kB / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.006183, allocations: 147.3 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.006208, allocations: 55.36 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.00624, allocations: 4 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.006294, allocations: 67.36 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of SimCode: time 6.32e-07/0.006295, allocations: 0 / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of Templates: time 0.001955/0.00825, allocations: 0.7869 MB / 0.8443 GB, free: 8.07 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.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.1740558068268]