Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009608/0.000961, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.6662, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.1797/0.846, allocations: 164.8 MB / 1.114 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006344/0.8524, allocations: 3.642 MB / 1.118 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006885/0.8531, allocations: 23.81 kB / 1.118 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.8544, allocations: 422.3 kB / 1.118 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.8572, allocations: 0.9971 MB / 1.119 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.8592, allocations: 0.6615 MB / 1.12 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.8606, allocations: 0.8234 MB / 1.121 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.8612, allocations: 404.5 kB / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.8628, allocations: 0.7477 MB / 1.122 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.8632, allocations: 310.7 kB / 1.122 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.8633, allocations: 20 kB / 1.122 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.8646, allocations: 0.6006 MB / 1.123 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.8648, allocations: 163.5 kB / 1.123 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.865, allocations: 153.3 kB / 1.123 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/0.8658, allocations: 0.7093 MB / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8659, allocations: 4 kB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8659, allocations: 0 / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8659, allocations: 0 / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001846/0.8677, allocations: 0.9195 MB / 1.125 GB, free: 300 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8678, allocations: 8.031 kB / 1.125 GB, free: 292 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.8691, allocations: 235 kB / 1.125 GB, free: 56 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.87, allocations: 0.5074 MB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.87, allocations: 29 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.8701, allocations: 43.95 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.8711, allocations: 0.5387 MB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8711, allocations: 0 / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.8711, allocations: 16 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.8712, allocations: 16.98 kB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.8723, allocations: 0.5153 MB / 1.127 GB, free: 14.33 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.8754, allocations: 2.22 MB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.876, allocations: 339.8 kB / 1.129 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.877, allocations: 0.6079 MB / 1.13 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.8774, allocations: 184.5 kB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.8774, allocations: 0 / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.0009574/0.8783, allocations: 437.6 kB / 1.13 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.8784, allocations: 106.8 kB / 1.13 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.8792, allocations: 0.6447 MB / 1.131 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.8793, allocations: 33.7 kB / 1.131 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.8795, allocations: 323.7 kB / 1.131 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.8796, allocations: 90.73 kB / 1.131 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.8796, allocations: 8 kB / 1.131 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8797, allocations: 374.7 kB / 1.132 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.8801, allocations: 127.9 kB / 1.132 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.8805, allocations: 269 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.8809, allocations: 165.8 kB / 1.132 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8809, allocations: 4 kB / 1.132 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009255/0.8818, allocations: 468.3 kB / 1.133 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000479/0.8823, allocations: 1.578 MB / 1.134 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8823, allocations: 4 kB / 1.134 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8823, allocations: 7.953 kB / 1.134 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.8828, allocations: 95.89 kB / 1.134 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.8828, allocations: 8 kB / 1.134 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.8834, allocations: 79.55 kB / 1.135 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.8835, allocations: 23.98 kB / 1.135 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.425e-06/0.8835, allocations: 4 kB / 1.135 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008165/0.8843, allocations: 386.4 kB / 1.135 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8843, allocations: 4.562 kB / 1.135 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.8843, allocations: 11.98 kB / 1.135 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.8847, allocations: 87.83 kB / 1.135 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.8847, allocations: 11.94 kB / 1.135 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.8852, allocations: 67.66 kB / 1.135 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.8853, allocations: 23.98 kB / 1.135 GB, free: 5.027 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.8856, allocations: 287.2 kB / 1.135 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.8856, allocations: 59.33 kB / 1.135 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/0.8862, allocations: 315.6 kB / 1.136 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.8862, allocations: 4 kB / 1.136 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8862, allocations: 3.984 kB / 1.136 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8863, allocations: 0 / 1.136 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.8877, allocations: 1.154 MB / 1.137 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.8877, allocations: 0 / 1.137 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.8879, allocations: 43.92 kB / 1.137 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.8879, allocations: 7.984 kB / 1.137 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.888, allocations: 8 kB / 1.137 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.888, allocations: 4 kB / 1.137 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.888, allocations: 7.953 kB / 1.137 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.8886, allocations: 0.5784 MB / 1.138 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.8888, allocations: 168.2 kB / 1.138 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.8889, allocations: 8 kB / 1.138 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.8892, allocations: 23.97 kB / 1.138 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.8893, allocations: 27.88 kB / 1.138 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.8893, allocations: 19.98 kB / 1.138 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006192/0.89, allocations: 471 kB / 1.138 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.89, allocations: 0 / 1.138 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008926/0.8909, allocations: 275.5 kB / 1.139 GB, free: 1.359 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.892, allocations: 0.5075 MB / 1.139 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.8932, allocations: 0.49 MB / 1.139 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8932, allocations: 0 / 1.139 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.8934, allocations: 121 kB / 1.14 GB, free: 420 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.8946, allocations: 272.7 kB / 1.14 GB, free: 152 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.8963, allocations: 1.173 MB / 1.141 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.8967, allocations: 0.9096 MB / 1.142 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006904/0.8974, allocations: 164.8 kB / 1.142 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.8975, allocations: 47.42 kB / 1.142 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/0.8975, allocations: 4 kB / 1.142 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.01668/0.9142, allocations: 9.722 MB / 1.152 GB, free: 4.188 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches