Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0008727/0.0008728, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006784/0.006784, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003716, allocations: 16 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7118, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.2163/0.9281, allocations: 194.2 MB / 1.213 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006891/0.9351, allocations: 3.726 MB / 1.216 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007362/0.9358, allocations: 27.81 kB / 1.216 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.9369, allocations: 374.3 kB / 1.217 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.9398, allocations: 1.163 MB / 1.218 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.9418, allocations: 0.666 MB / 1.218 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.9442, allocations: 1.835 MB / 1.22 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.9449, allocations: 431 kB / 1.221 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.9475, allocations: 0.8844 MB / 1.222 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006617/0.9481, allocations: 462.1 kB / 1.222 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.9482, allocations: 20 kB / 1.222 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.9505, allocations: 1.321 MB / 1.223 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.9508, allocations: 179.3 kB / 1.223 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.9511, allocations: 320 kB / 1.224 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.9529, allocations: 1.211 MB / 1.225 GB, free: 356 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9529, allocations: 0 / 1.225 GB, free: 356 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9529, allocations: 0 / 1.225 GB, free: 356 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9529, allocations: 0 / 1.225 GB, free: 356 kB / 0.9669 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.002128/0.955, allocations: 0.9352 MB / 1.226 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.9551, allocations: 8.031 kB / 1.226 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.9564, allocations: 231 kB / 1.226 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.9573, allocations: 0.542 MB / 1.227 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.9573, allocations: 29 kB / 1.227 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.9574, allocations: 40 kB / 1.227 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.9585, allocations: 0.5427 MB / 1.227 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.9585, allocations: 3.984 kB / 1.227 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.9586, allocations: 20 kB / 1.227 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.9586, allocations: 20.94 kB / 1.227 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.9598, allocations: 0.5153 MB / 1.228 GB, free: 13.35 MB / 0.9825 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.003333/0.9632, allocations: 2.227 MB / 1.23 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/0.964, allocations: 353.3 kB / 1.23 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.9642, allocations: 136.8 kB / 1.23 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.9656, allocations: 0.8727 MB / 1.231 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.9659, allocations: 194.2 kB / 1.231 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.9659, allocations: 0 / 1.231 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.001004/0.9669, allocations: 436.2 kB / 1.232 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.967, allocations: 85.11 kB / 1.232 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.9679, allocations: 0.6524 MB / 1.233 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.9679, allocations: 33.7 kB / 1.233 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.9682, allocations: 315.8 kB / 1.233 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.9683, allocations: 90.75 kB / 1.233 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.9683, allocations: 41.69 kB / 1.233 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9685, allocations: 362.8 kB / 1.233 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.9688, allocations: 131.9 kB / 1.233 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.9693, allocations: 296.6 kB / 1.234 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.9699, allocations: 379.2 kB / 1.234 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.97, allocations: 0 / 1.234 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001032/0.971, allocations: 478.9 kB / 1.235 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.9711, allocations: 207.7 kB / 1.235 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.9712, allocations: 8.062 kB / 1.235 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9712, allocations: 11.94 kB / 1.235 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.9716, allocations: 87.89 kB / 1.235 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.9716, allocations: 15.92 kB / 1.235 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.9723, allocations: 79.48 kB / 1.235 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.9723, allocations: 20 kB / 1.235 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.9723, allocations: 4 kB / 1.235 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008753/0.9732, allocations: 397.7 kB / 1.235 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9732, allocations: 4 kB / 1.235 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.9732, allocations: 4 kB / 1.235 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.9736, allocations: 91.83 kB / 1.235 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9737, allocations: 7.984 kB / 1.235 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.9742, allocations: 67.81 kB / 1.236 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.9742, allocations: 23.92 kB / 1.236 GB, free: 4.703 MB / 0.9825 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.0002891/0.9745, allocations: 304.8 kB / 1.236 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.9746, allocations: 59.25 kB / 1.236 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.9752, allocations: 315.7 kB / 1.236 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9752, allocations: 4 kB / 1.236 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9752, allocations: 0 / 1.236 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.9752, allocations: 0 / 1.236 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.9767, allocations: 1.095 MB / 1.237 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9767, allocations: 0 / 1.237 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.9769, allocations: 43.92 kB / 1.237 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.9769, allocations: 4 kB / 1.237 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.9769, allocations: 7.938 kB / 1.237 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.9769, allocations: 4 kB / 1.237 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.977, allocations: 4 kB / 1.237 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.9775, allocations: 478 kB / 1.238 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.9777, allocations: 172.2 kB / 1.238 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.9778, allocations: 8 kB / 1.238 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.9782, allocations: 27.92 kB / 1.238 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.9782, allocations: 31.91 kB / 1.238 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.9783, allocations: 8 kB / 1.238 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006604/0.9789, allocations: 479 kB / 1.239 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9789, allocations: 0 / 1.239 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008781/0.9798, allocations: 271.5 kB / 1.239 GB, free: 1.262 MB / 0.9825 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.001215/0.981, allocations: 0.5105 MB / 1.239 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.9822, allocations: 0.4947 MB / 1.24 GB, free: 424 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9822, allocations: 0 / 1.24 GB, free: 424 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.9824, allocations: 128.9 kB / 1.24 GB, free: 296 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.984, allocations: 266.4 kB / 1.24 GB, free: 36 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.9858, allocations: 1.242 MB / 1.241 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.9863, allocations: 0.8863 MB / 1.242 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006893/0.987, allocations: 164.8 kB / 1.242 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.9871, allocations: 55.42 kB / 1.242 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9871, allocations: 3.938 kB / 1.242 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of Templates: time 0.01888/1.006, allocations: 9.971 MB / 1.252 GB, free: 3.773 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches