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.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,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.007093/0.007093, allocations: 101.9 kB / 15.88 MB, free: 5.867 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.001601/0.001601, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.43 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.434/2.434, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 56.09 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6921, allocations: 140.4 MB / 0.9496 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2213/0.9135, allocations: 196.8 MB / 1.142 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007272/0.9208, allocations: 3.777 MB / 1.145 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009599/0.9218, allocations: 31.75 kB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.923, allocations: 378.2 kB / 1.146 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.9264, allocations: 1.171 MB / 1.147 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.9284, allocations: 0.6561 MB / 1.148 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.9306, allocations: 1.832 MB / 1.149 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.9313, allocations: 443.4 kB / 1.15 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.9341, allocations: 0.8906 MB / 1.151 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008158/0.935, allocations: 482 kB / 1.151 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.935, allocations: 24 kB / 1.151 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.9376, allocations: 1.325 MB / 1.152 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.9379, allocations: 183.4 kB / 1.153 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.9383, allocations: 310.2 kB / 1.153 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.9395, allocations: 0.8537 MB / 1.154 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9395, allocations: 0 / 1.154 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9395, allocations: 0 / 1.154 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.9395, allocations: 0 / 1.154 GB, free: 0.5312 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.002131/0.9417, allocations: 1.04 MB / 1.155 GB, free: 15.44 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9417, allocations: 12.03 kB / 1.155 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.943, allocations: 214.9 kB / 1.155 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.9438, allocations: 0.5343 MB / 1.156 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.9438, allocations: 32.98 kB / 1.156 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.9439, allocations: 40 kB / 1.156 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.945, allocations: 0.5388 MB / 1.156 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.945, allocations: 0 / 1.156 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.9451, allocations: 16 kB / 1.156 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.9451, allocations: 17 kB / 1.156 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.9462, allocations: 0.5152 MB / 1.157 GB, free: 13.46 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.003185/0.9494, allocations: 2.227 MB / 1.159 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.9502, allocations: 351.7 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.9504, allocations: 140.7 kB / 1.159 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.9518, allocations: 0.8416 MB / 1.16 GB, free: 9.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.9521, allocations: 194.9 kB / 1.16 GB, free: 9.324 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.814e-06/0.9521, allocations: 3.938 kB / 1.16 GB, free: 9.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001023/0.9532, allocations: 439.2 kB / 1.161 GB, free: 8.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.9532, allocations: 85.11 kB / 1.161 GB, free: 8.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008277/0.9541, allocations: 0.6486 MB / 1.161 GB, free: 8.125 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.9541, allocations: 29.7 kB / 1.161 GB, free: 8.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.9544, allocations: 323.7 kB / 1.162 GB, free: 7.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.9544, allocations: 90.75 kB / 1.162 GB, free: 7.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.9546, allocations: 81.59 kB / 1.162 GB, free: 7.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9547, allocations: 370.7 kB / 1.162 GB, free: 7.223 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.9551, allocations: 136.8 kB / 1.162 GB, free: 7.086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.9555, allocations: 285 kB / 1.163 GB, free: 6.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.9562, allocations: 380.1 kB / 1.163 GB, free: 6.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9562, allocations: 3.938 kB / 1.163 GB, free: 6.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009682/0.9572, allocations: 475.3 kB / 1.164 GB, free: 5.848 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.9572, allocations: 11.94 kB / 1.164 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9572, allocations: 4 kB / 1.164 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9572, allocations: 8.312 kB / 1.164 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.9576, allocations: 83.89 kB / 1.164 GB, free: 5.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.9577, allocations: 11.92 kB / 1.164 GB, free: 5.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.9583, allocations: 91.7 kB / 1.164 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.9584, allocations: 20 kB / 1.164 GB, free: 5.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005064/0.9589, allocations: 292 kB / 1.164 GB, free: 5.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004241/0.9593, allocations: 277.7 kB / 1.164 GB, free: 5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005852/0.9599, allocations: 395.1 kB / 1.165 GB, free: 4.559 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.9599, allocations: 0 / 1.165 GB, free: 4.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009218/0.9609, allocations: 469.6 kB / 1.165 GB, free: 4.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.9609, allocations: 8.469 kB / 1.165 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9609, allocations: 8 kB / 1.165 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.9609, allocations: 4 kB / 1.165 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.9613, allocations: 87.83 kB / 1.165 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9613, allocations: 7.938 kB / 1.165 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.9619, allocations: 71.78 kB / 1.165 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.9619, allocations: 23.98 kB / 1.165 GB, free: 3.887 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.0001511/0.9621, allocations: 210.5 kB / 1.166 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.9622, allocations: 59.25 kB / 1.166 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.9627, allocations: 322.6 kB / 1.166 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9627, allocations: 4 kB / 1.166 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.9628, allocations: 0 / 1.166 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9628, allocations: 3.938 kB / 1.166 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.9643, allocations: 1.091 MB / 1.167 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9643, allocations: 4.062 kB / 1.167 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.9645, allocations: 43.92 kB / 1.167 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.9645, allocations: 8.062 kB / 1.167 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.9645, allocations: 8 kB / 1.167 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.9645, allocations: 7.984 kB / 1.167 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9645, allocations: 4 kB / 1.167 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.9651, allocations: 485 kB / 1.167 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.9653, allocations: 168.2 kB / 1.168 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.9653, allocations: 8 kB / 1.168 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.9657, allocations: 23.97 kB / 1.168 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.9658, allocations: 27.86 kB / 1.168 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.9658, allocations: 12 kB / 1.168 GB, free: 1.258 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006124/0.9664, allocations: 479 kB / 1.168 GB, free: 0.793 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9664, allocations: 0 / 1.168 GB, free: 0.793 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009028/0.9673, allocations: 271.5 kB / 1.168 GB, free: 0.5273 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.001251/0.9686, allocations: 0.5047 MB / 1.169 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.9697, allocations: 0.4888 MB / 1.169 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9697, allocations: 7.938 kB / 1.169 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.97, allocations: 120.7 kB / 1.17 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.9712, allocations: 272.4 kB / 1.17 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.9731, allocations: 1.248 MB / 1.171 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.9736, allocations: 0.9019 MB / 1.172 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.9737, allocations: 51.42 kB / 1.172 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.9737, allocations: 0 / 1.172 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.01411/0.9878, allocations: 9.768 MB / 1.181 GB, free: 3.336 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/jenkins1/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