Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.000807/0.0008071, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008483/0.0008484, allocations: 168.7 kB / 15.95 MB, free: 204 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.41 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.365/2.365, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7039, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2124/0.9163, allocations: 181.2 MB / 1.131 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006112/0.9225, allocations: 3.52 MB / 1.135 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.9233, allocations: 27.75 kB / 1.135 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.9244, allocations: 302.3 kB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.9276, allocations: 0.9293 MB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.9297, allocations: 0.5834 MB / 1.137 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.9318, allocations: 1.566 MB / 1.138 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.9325, allocations: 384.5 kB / 1.138 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.9344, allocations: 0.778 MB / 1.139 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.9351, allocations: 446.2 kB / 1.14 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.9351, allocations: 20 kB / 1.14 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.9372, allocations: 0.8108 MB / 1.14 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.9375, allocations: 171.4 kB / 1.141 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.9377, allocations: 145.4 kB / 1.141 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.9389, allocations: 0.8028 MB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.939, allocations: 0 / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.675e-06/0.939, allocations: 0 / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.939, allocations: 0 / 1.142 GB, free: 15.38 MB / 0.9044 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.002024/0.941, allocations: 0.9391 MB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9411, allocations: 8.031 kB / 1.142 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.9423, allocations: 235 kB / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.943, allocations: 0.5229 MB / 1.143 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.9431, allocations: 29 kB / 1.143 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.9432, allocations: 43.95 kB / 1.143 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.9443, allocations: 0.5552 MB / 1.144 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.9443, allocations: 0 / 1.144 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.9443, allocations: 20 kB / 1.144 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.9444, allocations: 13 kB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.9455, allocations: 0.5074 MB / 1.144 GB, free: 12.4 MB / 0.9044 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.003095/0.9486, allocations: 2.238 MB / 1.147 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.9493, allocations: 358.2 kB / 1.147 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.9496, allocations: 144.8 kB / 1.147 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.951, allocations: 0.8688 MB / 1.148 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.9513, allocations: 204.8 kB / 1.148 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.013e-06/0.9514, allocations: 0 / 1.148 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001017/0.9524, allocations: 450.4 kB / 1.149 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.9524, allocations: 89.11 kB / 1.149 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008365/0.9533, allocations: 0.6485 MB / 1.149 GB, free: 7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.9533, allocations: 37.7 kB / 1.149 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.9536, allocations: 315.8 kB / 1.15 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.9537, allocations: 98.66 kB / 1.15 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.9537, allocations: 8 kB / 1.15 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9539, allocations: 374.7 kB / 1.15 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.9542, allocations: 136.8 kB / 1.15 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.9547, allocations: 294.3 kB / 1.15 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.9551, allocations: 178 kB / 1.151 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.9551, allocations: 4 kB / 1.151 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000993/0.9561, allocations: 492.3 kB / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.9563, allocations: 205.9 kB / 1.151 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9563, allocations: 4 kB / 1.151 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.9563, allocations: 12 kB / 1.151 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.9567, allocations: 91.89 kB / 1.151 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.9568, allocations: 11.92 kB / 1.151 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.9574, allocations: 87.44 kB / 1.151 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.9574, allocations: 20 kB / 1.151 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.9575, allocations: 4 kB / 1.151 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008841/0.9583, allocations: 415.7 kB / 1.152 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9584, allocations: 4 kB / 1.152 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.9584, allocations: 8 kB / 1.152 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.9588, allocations: 87.83 kB / 1.152 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9588, allocations: 12.16 kB / 1.152 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.9593, allocations: 75.48 kB / 1.152 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.9593, allocations: 24 kB / 1.152 GB, free: 3.918 MB / 0.9044 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.0002763/0.9596, allocations: 285 kB / 1.152 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.9597, allocations: 63.2 kB / 1.152 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/0.9603, allocations: 336.4 kB / 1.153 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9604, allocations: 4 kB / 1.153 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.9604, allocations: 0 / 1.153 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9604, allocations: 7.938 kB / 1.153 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.9619, allocations: 1.114 MB / 1.154 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9619, allocations: 4.062 kB / 1.154 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.9621, allocations: 47.92 kB / 1.154 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.9621, allocations: 4 kB / 1.154 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.9622, allocations: 15.92 kB / 1.154 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.9622, allocations: 4 kB / 1.154 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.9622, allocations: 15.88 kB / 1.154 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.963, allocations: 0.6089 MB / 1.155 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.9632, allocations: 176.2 kB / 1.155 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.9633, allocations: 8 kB / 1.155 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.9637, allocations: 32.03 kB / 1.155 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.9637, allocations: 16.12 kB / 1.155 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.9637, allocations: 16 kB / 1.155 GB, free: 1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000626/0.9644, allocations: 475 kB / 1.155 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9644, allocations: 0 / 1.155 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008634/0.9653, allocations: 279.5 kB / 1.155 GB, free: 272 kB / 0.9044 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.001189/0.9665, allocations: 0.5091 MB / 1.156 GB, free: 15.92 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.9676, allocations: 0.5336 MB / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9676, allocations: 320 / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.9678, allocations: 131.8 kB / 1.157 GB, free: 15.26 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.9691, allocations: 266 kB / 1.157 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.9713, allocations: 1.377 MB / 1.158 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.9718, allocations: 0.8981 MB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007238/0.9726, allocations: 168.9 kB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.9727, allocations: 47.42 kB / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of SimCode: time 7.02e-07/0.9727, allocations: 0 / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of Templates: time 0.01906/0.9918, allocations: 9.944 MB / 1.169 GB, free: 2.629 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches