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.0009627/0.0009628, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00117/0.00117, allocations: 172.7 kB / 15.95 MB, free: 208 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.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 8.062 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2594, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.176/0.4354, allocations: 181.2 MB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005494/0.441, allocations: 3.504 MB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.4415, allocations: 19.88 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.4424, allocations: 322.3 kB / 1.239 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.4445, allocations: 0.9254 MB / 1.24 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.446, allocations: 0.5834 MB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.4477, allocations: 1.562 MB / 1.242 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.4482, allocations: 380.5 kB / 1.242 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.4498, allocations: 0.7702 MB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.4504, allocations: 434.3 kB / 1.243 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.4505, allocations: 24 kB / 1.243 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.452, allocations: 0.8108 MB / 1.244 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.4521, allocations: 175.4 kB / 1.244 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.4523, allocations: 145.3 kB / 1.244 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.4532, allocations: 0.8028 MB / 1.245 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4532, allocations: 0 / 1.245 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4532, allocations: 0 / 1.245 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4532, allocations: 0 / 1.245 GB, free: 5.238 MB / 0.9981 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.001758/0.455, allocations: 0.9365 MB / 1.246 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.455, allocations: 12.03 kB / 1.246 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.4563, allocations: 234.9 kB / 1.246 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.457, allocations: 0.5152 MB / 1.247 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.4571, allocations: 32.98 kB / 1.247 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.4571, allocations: 43.98 kB / 1.247 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.4582, allocations: 0.5349 MB / 1.247 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4582, allocations: 0 / 1.247 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.4582, allocations: 16 kB / 1.247 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.4583, allocations: 28.88 kB / 1.247 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4595, allocations: 0.5114 MB / 1.248 GB, free: 2.266 MB / 0.9981 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.4918/0.9512, allocations: 2.224 MB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.9524, allocations: 352.7 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.9527, allocations: 142.8 kB / 1.251 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.9541, allocations: 0.8631 MB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/0.9545, allocations: 193.3 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.285e-06/0.9545, allocations: 4.344 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.00128/0.9558, allocations: 432.3 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.9559, allocations: 82.23 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.957, allocations: 0.6508 MB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.957, allocations: 32.02 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.9573, allocations: 317 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.9574, allocations: 89.42 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.9574, allocations: 8.188 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9575, allocations: 374 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.9578, allocations: 129.1 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.9583, allocations: 280.8 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.9587, allocations: 161 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9587, allocations: 2.125 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009617/0.9596, allocations: 476.4 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.9597, allocations: 202.1 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9598, allocations: 3.625 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.9598, allocations: 9.703 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.9602, allocations: 86.81 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.9602, allocations: 16.89 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/0.9608, allocations: 80.59 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.9609, allocations: 25.62 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.9609, allocations: 7.094 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007731/0.9617, allocations: 389.7 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9617, allocations: 3.469 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.9617, allocations: 15.19 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.9621, allocations: 84.98 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9621, allocations: 5.719 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.9625, allocations: 72.03 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.9626, allocations: 17.59 kB / 1.255 GB, free: 191.3 MB / 0.9981 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.0002293/0.9628, allocations: 292.4 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.9629, allocations: 58.06 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.9634, allocations: 323.9 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.9634, allocations: 2.844 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9634, allocations: 3.938 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9634, allocations: 0 / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.9647, allocations: 1.087 MB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9647, allocations: 8.609 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.9649, allocations: 37.22 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.9649, allocations: 3.844 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.9649, allocations: 8.844 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.9649, allocations: 5.188 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9649, allocations: 12.45 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.9654, allocations: 472.2 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.9655, allocations: 170.4 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.9656, allocations: 6.688 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.966, allocations: 34.58 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.966, allocations: 18.69 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.966, allocations: 13.58 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005231/0.9666, allocations: 469.7 kB / 1.258 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9666, allocations: 0.5938 kB / 1.258 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008149/0.9674, allocations: 278.1 kB / 1.259 GB, free: 190 MB / 0.9981 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.001144/0.9686, allocations: 0.507 MB / 1.259 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000978/0.9695, allocations: 0.4916 MB / 1.26 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9696, allocations: 0 / 1.26 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.9698, allocations: 130.5 kB / 1.26 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.971, allocations: 262.7 kB / 1.26 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.9728, allocations: 1.204 MB / 1.261 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.9732, allocations: 0.8926 MB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006871/0.9739, allocations: 169.8 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.974, allocations: 47.53 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.974, allocations: 2.297 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02065/0.9947, allocations: 9.732 MB / 1.272 GB, free: 187.6 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches