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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0007594/0.0007595, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00483/0.00483, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 12 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7011, allocations: 142.4 MB / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2208/0.9219, allocations: 194.2 MB / 1.145 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007093/0.9291, allocations: 3.746 MB / 1.148 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.9301, allocations: 19.88 kB / 1.148 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.9314, allocations: 366.2 kB / 1.149 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.9353, allocations: 1.175 MB / 1.15 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.9376, allocations: 0.6566 MB / 1.15 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.9403, allocations: 1.841 MB / 1.152 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009427/0.9413, allocations: 424.4 kB / 1.153 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.9443, allocations: 0.8756 MB / 1.154 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.9453, allocations: 466.1 kB / 1.154 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.9454, allocations: 20 kB / 1.154 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.948, allocations: 1.317 MB / 1.155 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.9484, allocations: 179.4 kB / 1.155 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.9489, allocations: 320 kB / 1.156 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.951, allocations: 1.223 MB / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.951, allocations: 0 / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.724e-06/0.951, allocations: 0 / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.951, allocations: 4 kB / 1.157 GB, free: 15.79 MB / 0.92 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.002/0.9531, allocations: 0.9234 MB / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9531, allocations: 8.031 kB / 1.158 GB, free: 14.81 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.9544, allocations: 235 kB / 1.158 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.9553, allocations: 0.5381 MB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.9554, allocations: 29 kB / 1.159 GB, free: 13.97 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.9555, allocations: 36 kB / 1.159 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.9566, allocations: 0.5504 MB / 1.159 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.9567, allocations: 4 kB / 1.159 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.9567, allocations: 16 kB / 1.159 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.9567, allocations: 13 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.958, allocations: 0.5191 MB / 1.16 GB, free: 12.82 MB / 0.92 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.003449/0.9614, allocations: 2.235 MB / 1.162 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.9622, allocations: 351.7 kB / 1.162 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.9625, allocations: 144.8 kB / 1.162 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.964, allocations: 0.865 MB / 1.163 GB, free: 8.848 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.9643, allocations: 186.9 kB / 1.163 GB, free: 8.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.9643, allocations: 3.938 kB / 1.163 GB, free: 8.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001094/0.9654, allocations: 439.5 kB / 1.164 GB, free: 8.211 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.9655, allocations: 85.05 kB / 1.164 GB, free: 8.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/0.9664, allocations: 0.6562 MB / 1.165 GB, free: 7.441 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.9665, allocations: 33.7 kB / 1.165 GB, free: 7.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.9668, allocations: 323.8 kB / 1.165 GB, free: 7.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.9669, allocations: 90.73 kB / 1.165 GB, free: 6.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.967, allocations: 29.7 kB / 1.165 GB, free: 6.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.9671, allocations: 378.7 kB / 1.165 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.9675, allocations: 127.9 kB / 1.166 GB, free: 6.453 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.968, allocations: 281.1 kB / 1.166 GB, free: 6.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.9686, allocations: 379.8 kB / 1.166 GB, free: 5.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.9686, allocations: 4 kB / 1.166 GB, free: 5.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009754/0.9696, allocations: 471.3 kB / 1.167 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.9698, allocations: 215.7 kB / 1.167 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.9698, allocations: 7.938 kB / 1.167 GB, free: 4.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.9699, allocations: 8 kB / 1.167 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.9703, allocations: 87.89 kB / 1.167 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.022e-05/0.9703, allocations: 7.938 kB / 1.167 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.9709, allocations: 83.48 kB / 1.167 GB, free: 4.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.971, allocations: 23.98 kB / 1.167 GB, free: 4.738 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.971, allocations: 5.406 kB / 1.167 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000856/0.9719, allocations: 395.9 kB / 1.167 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9719, allocations: 4 kB / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.9719, allocations: 4 kB / 1.167 GB, free: 4.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.9723, allocations: 87.83 kB / 1.168 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.9723, allocations: 8 kB / 1.168 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.9728, allocations: 67.8 kB / 1.168 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.9728, allocations: 23.98 kB / 1.168 GB, free: 4.156 MB / 0.92 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 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003384/0.9732, allocations: 292.8 kB / 1.168 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.9733, allocations: 63.23 kB / 1.168 GB, free: 3.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/0.9739, allocations: 313.4 kB / 1.168 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9739, allocations: 4 kB / 1.168 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9739, allocations: 0 / 1.168 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9739, allocations: 3.984 kB / 1.168 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.9754, allocations: 1.087 MB / 1.169 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9754, allocations: 7.938 kB / 1.169 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.9756, allocations: 43.92 kB / 1.169 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.9756, allocations: 8 kB / 1.169 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.9757, allocations: 11.98 kB / 1.169 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.9757, allocations: 4 kB / 1.169 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9757, allocations: 4 kB / 1.169 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.9763, allocations: 482.7 kB / 1.17 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.9765, allocations: 164.3 kB / 1.17 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.9765, allocations: 8 kB / 1.17 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.9769, allocations: 31.91 kB / 1.17 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.977, allocations: 27.86 kB / 1.17 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.977, allocations: 12 kB / 1.17 GB, free: 1.445 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006253/0.9776, allocations: 471 kB / 1.171 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9777, allocations: 8 kB / 1.171 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009185/0.9786, allocations: 271.6 kB / 1.171 GB, free: 0.7148 MB / 0.92 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 (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.001241/0.9798, allocations: 0.5106 MB / 1.171 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.981, allocations: 0.4885 MB / 1.172 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.981, allocations: 4.938 kB / 1.172 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.9813, allocations: 128.1 kB / 1.172 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.9828, allocations: 268.7 kB / 1.172 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.9848, allocations: 1.226 MB / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.9852, allocations: 0.898 MB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006596/0.9859, allocations: 172.8 kB / 1.174 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.986, allocations: 43.44 kB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.986, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.01841/1.004, allocations: 9.979 MB / 1.184 GB, free: 3.23 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches