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.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_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.0007576/0.0007577, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009607/0.0009609, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.439/2.439, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7545/0.7549, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2266/0.9815, allocations: 194.2 MB / 1.145 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008156/0.9897, allocations: 3.74 MB / 1.148 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.9909, allocations: 23.88 kB / 1.148 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.9924, allocations: 374.2 kB / 1.149 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.9967, allocations: 1.171 MB / 1.15 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.999, allocations: 0.6569 MB / 1.15 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002615/1.002, allocations: 1.836 MB / 1.152 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/1.003, allocations: 431 kB / 1.153 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/1.006, allocations: 0.881 MB / 1.154 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/1.007, allocations: 470 kB / 1.154 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/1.007, allocations: 20 kB / 1.154 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/1.01, allocations: 1.317 MB / 1.155 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/1.01, allocations: 175.4 kB / 1.155 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006315/1.011, allocations: 327.9 kB / 1.156 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/1.014, allocations: 1.227 MB / 1.157 GB, free: 15.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.014, allocations: 0 / 1.157 GB, free: 15.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.705e-06/1.014, allocations: 0 / 1.157 GB, free: 15.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.749e-05/1.014, allocations: 4 kB / 1.157 GB, free: 15.81 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.002692/1.016, allocations: 0.9273 MB / 1.158 GB, free: 14.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.017, allocations: 12.03 kB / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/1.018, allocations: 231 kB / 1.158 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/1.019, allocations: 0.5381 MB / 1.159 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/1.019, allocations: 29 kB / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.019, allocations: 43.98 kB / 1.159 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.021, allocations: 0.5591 MB / 1.159 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.021, allocations: 0 / 1.159 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/1.021, allocations: 19.94 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/1.021, allocations: 20.98 kB / 1.159 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/1.022, allocations: 0.5074 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.003883/1.026, allocations: 2.238 MB / 1.162 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/1.027, allocations: 359.9 kB / 1.162 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/1.027, allocations: 152.7 kB / 1.162 GB, free: 9.875 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/1.029, allocations: 0.865 MB / 1.163 GB, free: 8.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/1.029, allocations: 197.9 kB / 1.164 GB, free: 8.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/1.029, allocations: 3.938 kB / 1.164 GB, free: 8.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.001125/1.03, allocations: 466.4 kB / 1.164 GB, free: 8.168 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/1.03, allocations: 85.09 kB / 1.164 GB, free: 8.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/1.031, allocations: 0.6524 MB / 1.165 GB, free: 7.402 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/1.031, allocations: 37.7 kB / 1.165 GB, free: 7.359 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/1.032, allocations: 319.8 kB / 1.165 GB, free: 7.043 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/1.032, allocations: 90.66 kB / 1.165 GB, free: 6.953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/1.032, allocations: 37.7 kB / 1.165 GB, free: 6.91 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.032, allocations: 370.8 kB / 1.165 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/1.033, allocations: 140.8 kB / 1.166 GB, free: 6.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/1.033, allocations: 302.2 kB / 1.166 GB, free: 6.043 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/1.034, allocations: 401.1 kB / 1.166 GB, free: 5.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.034, allocations: 3.938 kB / 1.166 GB, free: 5.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001104/1.035, allocations: 498.3 kB / 1.167 GB, free: 5.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.035, allocations: 204.4 kB / 1.167 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/1.035, allocations: 12.05 kB / 1.167 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.808e-05/1.035, allocations: 11.98 kB / 1.167 GB, free: 4.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/1.036, allocations: 91.83 kB / 1.167 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/1.036, allocations: 4 kB / 1.167 GB, free: 4.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/1.036, allocations: 91.42 kB / 1.167 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/1.036, allocations: 23.98 kB / 1.167 GB, free: 4.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/1.036, allocations: 6.031 kB / 1.167 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009368/1.037, allocations: 416.3 kB / 1.168 GB, free: 4.203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.037, allocations: 4 kB / 1.168 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/1.037, allocations: 4 kB / 1.168 GB, free: 4.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/1.038, allocations: 92.05 kB / 1.168 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.038, allocations: 15.92 kB / 1.168 GB, free: 4.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/1.039, allocations: 63.66 kB / 1.168 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/1.039, allocations: 23.98 kB / 1.168 GB, free: 4.004 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 (47): * Single equations (assignments): 47 * 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.0003614/1.039, allocations: 288.9 kB / 1.168 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.039, allocations: 67.19 kB / 1.168 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/1.04, allocations: 336.3 kB / 1.168 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/1.04, allocations: 7.984 kB / 1.168 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.04, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/1.04, allocations: 4 kB / 1.168 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.042, allocations: 1.114 MB / 1.17 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.042, allocations: 4 kB / 1.17 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/1.042, allocations: 39.92 kB / 1.17 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.042, allocations: 4 kB / 1.17 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/1.042, allocations: 11.94 kB / 1.17 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.042, allocations: 7.938 kB / 1.17 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.042, allocations: 4 kB / 1.17 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009383/1.043, allocations: 0.6205 MB / 1.17 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/1.043, allocations: 172.2 kB / 1.17 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/1.043, allocations: 16 kB / 1.17 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/1.044, allocations: 32.03 kB / 1.17 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/1.044, allocations: 19.97 kB / 1.17 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/1.044, allocations: 12 kB / 1.17 GB, free: 1.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007296/1.045, allocations: 483 kB / 1.171 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.01e-07/1.045, allocations: 0 / 1.171 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001057/1.046, allocations: 283.5 kB / 1.171 GB, free: 348 kB / 0.92 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 (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.001449/1.047, allocations: 0.5025 MB / 1.172 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001366/1.048, allocations: 0.5323 MB / 1.172 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.048, allocations: 448 / 1.172 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/1.049, allocations: 135.8 kB / 1.172 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.051, allocations: 270.1 kB / 1.173 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/1.053, allocations: 1.398 MB / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/1.054, allocations: 0.8942 MB / 1.175 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008292/1.055, allocations: 176.9 kB / 1.175 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.055, allocations: 51.42 kB / 1.175 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of SimCode: time 1.523e-06/1.055, allocations: 0 / 1.175 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.02185/1.077, allocations: 10.21 MB / 1.185 GB, free: 2.414 MB / 0.9356 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