Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001121/0.001121, 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.001085/0.001085, allocations: 165 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.9865/0.9865, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.999/1.999, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] 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.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.52e-07/8.52e-07, allocations: 0.9844 kB / 0.7601 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.439e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001649/0.001663, allocations: 1.379 MB / 0.7614 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002684, allocations: 0.9032 MB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.0027, allocations: 0 / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.002711, allocations: 0 / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.002744, allocations: 11.22 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.003105, allocations: 176.4 kB / 0.7625 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.321e-05/0.003148, allocations: 24.45 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.342e-05/0.003171, allocations: 3.984 kB / 0.7625 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.543e-05/0.003217, allocations: 17.23 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.003251, allocations: 4 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.003258, allocations: 0 / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.003537, allocations: 252.3 kB / 0.7628 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.003545, allocations: 4 kB / 0.7628 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.003558, allocations: 8.531 kB / 0.7628 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.003751, allocations: 199.4 kB / 0.763 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003753, allocations: 0.6875 kB / 0.763 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003754, allocations: 0 / 0.763 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.003756, allocations: 1.25 kB / 0.763 GB, free: 3.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002255/0.003982, allocations: 260.4 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.004008, allocations: 8.031 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.004185, allocations: 30.06 kB / 0.7632 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.968e-05/0.004244, allocations: 111.6 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.004252, allocations: 4.375 kB / 0.7634 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.004258, allocations: 384 / 0.7634 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.03e-05/0.004329, allocations: 67.95 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004335, allocations: 4.688 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.004341, allocations: 0 / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004346, allocations: 0.75 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.004369, allocations: 11.98 kB / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.305e-05/0.004442, allocations: 65.69 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.004852, allocations: 132.8 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.004871, allocations: 16.84 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.837e-05/0.004969, allocations: 28.64 kB / 0.7637 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.004987, allocations: 33.69 kB / 0.7637 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.004989, allocations: 0 / 0.7637 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003467/0.005335, allocations: 49.67 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.005356, allocations: 59.34 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.741e-05/0.005394, allocations: 98.72 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.005403, allocations: 25.7 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.00542, allocations: 88.02 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.005442, allocations: 17.67 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.005465, allocations: 17.7 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.005531, allocations: 314.8 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.005538, allocations: 4 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.005547, allocations: 4.188 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.005573, allocations: 28.17 kB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005574, allocations: 0 / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.555e-05/0.005619, allocations: 41.69 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.005631, allocations: 4 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.005634, allocations: 0 / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.005642, allocations: 0 / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.005677, allocations: 19.86 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005679, allocations: 0 / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.005693, allocations: 0 / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.005701, allocations: 6.938 kB / 0.7644 GB, free: 2.02 MB / 0.7136 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 (4): * Single equations (assignments): 4 * 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.79e-05/0.005749, allocations: 109.8 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.005757, allocations: 4 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.005858, allocations: 66.59 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.00586, allocations: 0 / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005862, allocations: 3.938 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005864, allocations: 1.281 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.507e-05/0.005919, allocations: 81.83 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00592, allocations: 0 / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.005944, allocations: 16.58 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005946, allocations: 0 / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.00595, allocations: 0.625 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.005951, allocations: 4 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005952, allocations: 0.6562 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.158e-05/0.006003, allocations: 73.66 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.006021, allocations: 8 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-06/0.006028, allocations: 0.5312 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.006044, allocations: 5.484 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.006056, allocations: 4 kB / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.00606, allocations: 0 / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.694e-06/0.006067, allocations: 8.797 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006067, allocations: 4.906 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001333/0.006201, allocations: 55.86 kB / 0.7649 GB, free: 1.531 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 (5): * Single equations (assignments): 5 * 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.0001615/0.006362, allocations: 157.4 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.142e-05/0.006414, allocations: 24.84 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006415, allocations: 0.5938 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.006428, allocations: 17.62 kB / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.97e-05/0.006498, allocations: 14.19 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.006904, allocations: 141.3 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.674e-05/0.00693, allocations: 51.36 kB / 0.7653 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.006967, allocations: 11.62 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.007014, allocations: 59.36 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.007015, allocations: 0 / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of Templates: time 0.002632/0.009647, allocations: 1.429 MB / 0.7667 GB, free: 15.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.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.065985189750791]