Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009357/0.0009357, 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.0009459/0.000946, 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.291/1.291, 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 11.0.0-master/package.mo): time 2.502/2.502, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 8 kB / 0.8707 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5785, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.1685/0.747, allocations: 164.8 MB / 1.182 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005889/0.753, allocations: 3.642 MB / 1.185 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.7537, allocations: 23.81 kB / 1.185 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.7552, allocations: 422.3 kB / 1.186 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.758, allocations: 1.005 MB / 1.187 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.76, allocations: 0.6588 MB / 1.187 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.7616, allocations: 0.8207 MB / 1.188 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.7624, allocations: 404.5 kB / 1.189 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.7642, allocations: 0.7399 MB / 1.189 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.7649, allocations: 314.7 kB / 1.19 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.498e-05/0.765, allocations: 23.94 kB / 1.19 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.7663, allocations: 0.6006 MB / 1.19 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.7666, allocations: 167.5 kB / 1.19 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.7669, allocations: 141.4 kB / 1.19 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.7679, allocations: 0.717 MB / 1.191 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7679, allocations: 0 / 1.191 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7679, allocations: 7.938 kB / 1.191 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.579e-05/0.768, allocations: 0 / 1.191 GB, free: 2.199 MB / 0.9356 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.002036/0.77, allocations: 0.9017 MB / 1.192 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7701, allocations: 15.98 kB / 1.192 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.7714, allocations: 238.9 kB / 1.192 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.7725, allocations: 0.5152 MB / 1.193 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.7726, allocations: 33 kB / 1.193 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.7727, allocations: 36 kB / 1.193 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.7739, allocations: 0.5426 MB / 1.193 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.774, allocations: 0 / 1.193 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.774, allocations: 16 kB / 1.193 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.7741, allocations: 20.94 kB / 1.193 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.7755, allocations: 0.523 MB / 1.194 GB, free: 15.26 MB / 0.9512 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.00392/0.7794, allocations: 2.207 MB / 1.196 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.7801, allocations: 343.8 kB / 1.196 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.7812, allocations: 0.604 MB / 1.197 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.7815, allocations: 200.6 kB / 1.197 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.7815, allocations: 0 / 1.197 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.001094/0.7826, allocations: 428.6 kB / 1.198 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.7827, allocations: 114.8 kB / 1.198 GB, free: 11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.7837, allocations: 0.6446 MB / 1.198 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.7837, allocations: 29.7 kB / 1.198 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.784, allocations: 323.7 kB / 1.199 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.7841, allocations: 90.83 kB / 1.199 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.7841, allocations: 8 kB / 1.199 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7843, allocations: 362.8 kB / 1.199 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.7846, allocations: 127.9 kB / 1.199 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.7851, allocations: 270.6 kB / 1.2 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.7855, allocations: 169.3 kB / 1.2 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7855, allocations: 0 / 1.2 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001004/0.7865, allocations: 471.2 kB / 1.2 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000583/0.7871, allocations: 1.58 MB / 1.202 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7871, allocations: 8.062 kB / 1.202 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.7871, allocations: 4 kB / 1.202 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.7876, allocations: 83.89 kB / 1.202 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.7876, allocations: 15.92 kB / 1.202 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/0.7882, allocations: 83.55 kB / 1.202 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.7883, allocations: 16 kB / 1.202 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.7883, allocations: 4 kB / 1.202 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008349/0.7891, allocations: 379.8 kB / 1.202 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7892, allocations: 12.03 kB / 1.202 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7892, allocations: 7.953 kB / 1.202 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.7896, allocations: 91.77 kB / 1.202 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7896, allocations: 8 kB / 1.202 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.7901, allocations: 79.48 kB / 1.202 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.7902, allocations: 16 kB / 1.202 GB, free: 5.961 MB / 0.9512 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.0002972/0.7905, allocations: 285 kB / 1.203 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.7906, allocations: 59.25 kB / 1.203 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.7912, allocations: 311.7 kB / 1.203 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7912, allocations: 4 kB / 1.203 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7912, allocations: 0 / 1.203 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.7912, allocations: 7.953 kB / 1.203 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.7928, allocations: 1.156 MB / 1.204 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7928, allocations: 4.312 kB / 1.204 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.793, allocations: 35.98 kB / 1.204 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.793, allocations: 4 kB / 1.204 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.793, allocations: 8 kB / 1.204 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.793, allocations: 7.938 kB / 1.204 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7931, allocations: 4 kB / 1.204 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.7937, allocations: 0.5706 MB / 1.205 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.7939, allocations: 172.2 kB / 1.205 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.794, allocations: 19.95 kB / 1.205 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.7944, allocations: 27.89 kB / 1.205 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.7945, allocations: 28.09 kB / 1.205 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.7945, allocations: 12 kB / 1.205 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006967/0.7952, allocations: 471 kB / 1.206 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7953, allocations: 0 / 1.206 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009693/0.7962, allocations: 271.6 kB / 1.206 GB, free: 2.305 MB / 0.9512 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.001211/0.7975, allocations: 0.5039 MB / 1.206 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.7986, allocations: 0.4915 MB / 1.207 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.7986, allocations: 4 kB / 1.207 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.7988, allocations: 117 kB / 1.207 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.8, allocations: 260.1 kB / 1.207 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.8018, allocations: 1.184 MB / 1.208 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.8023, allocations: 0.9058 MB / 1.209 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000696/0.803, allocations: 168.9 kB / 1.209 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.8031, allocations: 47.42 kB / 1.209 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of SimCode: time 5.92e-07/0.8031, allocations: 0 / 1.209 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of Templates: time 0.01654/0.8197, allocations: 9.718 MB / 1.219 GB, free: 5.141 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches