Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008288, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0008675/0.0008675, allocations: 172.7 kB / 15.95 MB, free: 192 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.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 462.6 MB / 0.736 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003126, allocations: 9.812 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2668, allocations: 159.6 MB / 1.058 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.1882/0.455, allocations: 181.2 MB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006061/0.4611, allocations: 3.519 MB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006486/0.4618, allocations: 19.88 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.4629, allocations: 318.3 kB / 1.239 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.4655, allocations: 0.9254 MB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.4672, allocations: 0.582 MB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.4693, allocations: 1.575 MB / 1.242 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.4701, allocations: 380.5 kB / 1.242 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.4721, allocations: 0.7741 MB / 1.243 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.4729, allocations: 434.3 kB / 1.243 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.4729, allocations: 28 kB / 1.243 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.4749, allocations: 0.8108 MB / 1.244 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.4751, allocations: 179.4 kB / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.4753, allocations: 145.3 kB / 1.244 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.4764, allocations: 0.8028 MB / 1.245 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4764, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4764, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4765, allocations: 4 kB / 1.245 GB, free: 5.219 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.002049/0.4785, allocations: 0.935 MB / 1.246 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4786, allocations: 16.02 kB / 1.246 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.4798, allocations: 230.9 kB / 1.246 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.4807, allocations: 0.519 MB / 1.247 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.4808, allocations: 33 kB / 1.247 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.4809, allocations: 47.98 kB / 1.247 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.4819, allocations: 0.5396 MB / 1.247 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4819, allocations: 3.938 kB / 1.247 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.4821, allocations: 16 kB / 1.247 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.4821, allocations: 28.94 kB / 1.247 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.4833, allocations: 0.5035 MB / 1.248 GB, free: 2.234 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.4976/0.9809, allocations: 2.226 MB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.9818, allocations: 352.6 kB / 1.25 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.9821, allocations: 147.5 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.9833, allocations: 0.8682 MB / 1.251 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.9836, allocations: 206.2 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/0.9836, allocations: 1.094 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.00112/0.9848, allocations: 463 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.9848, allocations: 79.86 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9859, allocations: 0.6401 MB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.9859, allocations: 36.28 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.9861, allocations: 321.1 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.9862, allocations: 96.52 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.9863, allocations: 9.719 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9864, allocations: 371.2 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.9867, allocations: 146 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.9871, allocations: 296.3 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.9875, allocations: 177.2 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.9875, allocations: 1.469 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001011/0.9886, allocations: 498.8 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/0.9887, allocations: 203.2 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9887, allocations: 9.438 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9887, allocations: 6.562 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.9891, allocations: 95.41 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.9892, allocations: 6.469 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.9898, allocations: 88.31 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.9898, allocations: 18.59 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.9899, allocations: 6.266 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007919/0.9907, allocations: 416.5 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.9907, allocations: 5.812 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.9907, allocations: 5.25 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.9911, allocations: 94.44 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9911, allocations: 9.719 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.9916, allocations: 72.97 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.9916, allocations: 21.44 kB / 1.256 GB, free: 191 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 (47): * Single equations (assignments): 47 * 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.0002348/0.9919, allocations: 289 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.992, allocations: 62.59 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.9925, allocations: 343.2 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.9925, allocations: 3.281 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9926, allocations: 3.844 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9926, allocations: 0 / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.9939, allocations: 1.113 MB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9939, allocations: 2.812 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.9941, allocations: 47.19 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.9941, allocations: 9.406 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.9942, allocations: 8.156 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.9942, allocations: 9.844 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9942, allocations: 2.875 kB / 1.257 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.9949, allocations: 0.6186 MB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.995, allocations: 177.5 kB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.9951, allocations: 6.875 kB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.9955, allocations: 33.94 kB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.9955, allocations: 25.78 kB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.9956, allocations: 18.09 kB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005245/0.9961, allocations: 467.3 kB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9961, allocations: 2.438 kB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008229/0.9969, allocations: 270.3 kB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.001094/0.998, allocations: 0.5088 MB / 1.26 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009809/0.999, allocations: 0.5181 MB / 1.26 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.999, allocations: 0 / 1.26 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.9992, allocations: 134.3 kB / 1.26 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.001, allocations: 269.5 kB / 1.26 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/1.002, allocations: 1.364 MB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.003, allocations: 0.8941 MB / 1.263 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007085/1.003, allocations: 172.6 kB / 1.263 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/1.003, allocations: 49.17 kB / 1.263 GB, free: 188 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.003, allocations: 0 / 1.263 GB, free: 188 MB / 0.9981 GB Notification: Performance of Templates: time 0.02239/1.026, allocations: 9.967 MB / 1.273 GB, free: 187.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches