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.001512/0.001512, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001731/0.001731, allocations: 196.2 kB / 16.14 MB, free: 6.645 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.5 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.47/2.47, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6491, allocations: 140.3 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2127/0.8619, allocations: 196.8 MB / 1.141 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006805/0.8688, allocations: 3.789 MB / 1.145 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.8698, allocations: 27.81 kB / 1.145 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.8711, allocations: 374.2 kB / 1.145 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.8744, allocations: 1.167 MB / 1.146 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.8763, allocations: 0.6703 MB / 1.147 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.8785, allocations: 1.832 MB / 1.149 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007982/0.8793, allocations: 435.5 kB / 1.149 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.8822, allocations: 0.8867 MB / 1.15 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.8831, allocations: 474.1 kB / 1.15 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.8832, allocations: 28 kB / 1.151 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.8856, allocations: 1.329 MB / 1.152 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.8859, allocations: 183.4 kB / 1.152 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.8864, allocations: 314.2 kB / 1.152 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.8885, allocations: 1.231 MB / 1.153 GB, free: 15.9 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8885, allocations: 0 / 1.153 GB, free: 15.9 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8885, allocations: 0 / 1.153 GB, free: 15.9 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.127e-05/0.8886, allocations: 0 / 1.153 GB, free: 15.9 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.002503/0.8911, allocations: 1.036 MB / 1.154 GB, free: 14.81 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8911, allocations: 20.02 kB / 1.155 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.8925, allocations: 218.9 kB / 1.155 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/0.8935, allocations: 0.5304 MB / 1.155 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.8935, allocations: 29 kB / 1.155 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.8936, allocations: 39.98 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.8948, allocations: 0.5387 MB / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8948, allocations: 0 / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.8948, allocations: 16 kB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.8949, allocations: 24.98 kB / 1.156 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.8961, allocations: 0.4996 MB / 1.156 GB, free: 12.84 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.003464/0.8996, allocations: 2.234 MB / 1.159 GB, free: 10.42 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.9004, allocations: 343.7 kB / 1.159 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.9007, allocations: 144.8 kB / 1.159 GB, free: 9.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.902, allocations: 0.8376 MB / 1.16 GB, free: 8.906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.9024, allocations: 202.9 kB / 1.16 GB, free: 8.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 2.255e-06/0.9024, allocations: 0 / 1.16 GB, free: 8.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001067/0.9035, allocations: 430 kB / 1.16 GB, free: 8.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.9035, allocations: 85.09 kB / 1.161 GB, free: 8.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008949/0.9044, allocations: 0.6563 MB / 1.161 GB, free: 7.496 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.9045, allocations: 37.64 kB / 1.161 GB, free: 7.453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.9047, allocations: 315.8 kB / 1.161 GB, free: 7.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.9048, allocations: 94.67 kB / 1.162 GB, free: 7.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.905, allocations: 77.59 kB / 1.162 GB, free: 6.965 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9051, allocations: 374.7 kB / 1.162 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.9055, allocations: 140.8 kB / 1.162 GB, free: 6.449 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.906, allocations: 282.5 kB / 1.162 GB, free: 6.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.9067, allocations: 385.1 kB / 1.163 GB, free: 5.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.9067, allocations: 0 / 1.163 GB, free: 5.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001057/0.9078, allocations: 473.8 kB / 1.163 GB, free: 5.215 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.9078, allocations: 9.25 kB / 1.163 GB, free: 5.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.9078, allocations: 7.984 kB / 1.163 GB, free: 5.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.9078, allocations: 8 kB / 1.163 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.9083, allocations: 91.98 kB / 1.163 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9083, allocations: 4 kB / 1.163 GB, free: 5.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.909, allocations: 87.42 kB / 1.163 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.909, allocations: 23.98 kB / 1.163 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005189/0.9095, allocations: 292 kB / 1.164 GB, free: 4.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004501/0.91, allocations: 277 kB / 1.164 GB, free: 4.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000667/0.9107, allocations: 382.1 kB / 1.164 GB, free: 3.941 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.9107, allocations: 4 kB / 1.164 GB, free: 3.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001034/0.9117, allocations: 468.5 kB / 1.165 GB, free: 3.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.9118, allocations: 8 kB / 1.165 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9118, allocations: 4 kB / 1.165 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.9118, allocations: 4 kB / 1.165 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.9122, allocations: 92.14 kB / 1.165 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.9122, allocations: 15.86 kB / 1.165 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.9129, allocations: 63.8 kB / 1.165 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.913, allocations: 20 kB / 1.165 GB, free: 3.27 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.0001725/0.9131, allocations: 209.5 kB / 1.165 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.9132, allocations: 59.25 kB / 1.165 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.9139, allocations: 324.9 kB / 1.166 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.9139, allocations: 4.188 kB / 1.166 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9139, allocations: 0 / 1.166 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9139, allocations: 15.91 kB / 1.166 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.9156, allocations: 1.079 MB / 1.167 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.9156, allocations: 128 / 1.167 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.9158, allocations: 43.92 kB / 1.167 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.9159, allocations: 8.312 kB / 1.167 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.9159, allocations: 11.98 kB / 1.167 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9159, allocations: 7.938 kB / 1.167 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9159, allocations: 4 kB / 1.167 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.9165, allocations: 486.1 kB / 1.167 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.9167, allocations: 160.3 kB / 1.167 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.9168, allocations: 11.98 kB / 1.167 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.9172, allocations: 27.98 kB / 1.167 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.9173, allocations: 27.91 kB / 1.167 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.9173, allocations: 8 kB / 1.167 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007015/0.918, allocations: 479 kB / 1.168 GB, free: 180 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.918, allocations: 0 / 1.168 GB, free: 180 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009677/0.919, allocations: 275.6 kB / 1.168 GB, free: 15.9 MB / 0.9356 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.001347/0.9204, allocations: 0.5075 MB / 1.169 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.9216, allocations: 0.4991 MB / 1.169 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9216, allocations: 4 kB / 1.169 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.9219, allocations: 123.8 kB / 1.169 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.9233, allocations: 256.3 kB / 1.169 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.9252, allocations: 1.215 MB / 1.171 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.9257, allocations: 0.8941 MB / 1.172 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007164/0.9264, allocations: 168.8 kB / 1.172 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.9265, allocations: 51.42 kB / 1.172 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.9266, allocations: 0 / 1.172 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.01876/0.9453, allocations: 10.02 MB / 1.182 GB, free: 2.402 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