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.0008176/0.0008174, allocations: 86.8 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.0009016/0.0009016, 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.333/1.333, 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.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7184, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.1984/0.9169, allocations: 181.2 MB / 1.131 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006695/0.9237, allocations: 3.521 MB / 1.135 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.9243, allocations: 27.75 kB / 1.135 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009986/0.9253, allocations: 314.3 kB / 1.135 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.9276, allocations: 0.9215 MB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.9291, allocations: 0.5836 MB / 1.137 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.9308, allocations: 1.562 MB / 1.138 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.9314, allocations: 376.5 kB / 1.138 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.9331, allocations: 0.7897 MB / 1.139 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.9337, allocations: 438.2 kB / 1.14 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.9337, allocations: 20 kB / 1.14 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.9352, allocations: 0.803 MB / 1.14 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.9354, allocations: 175.4 kB / 1.141 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.9356, allocations: 145.4 kB / 1.141 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008927/0.9365, allocations: 0.795 MB / 1.142 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9365, allocations: 0 / 1.142 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9365, allocations: 0 / 1.142 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.9365, allocations: 0 / 1.142 GB, free: 15.4 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.001836/0.9384, allocations: 0.9274 MB / 1.142 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9384, allocations: 8.031 kB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.9396, allocations: 238.9 kB / 1.143 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.9404, allocations: 0.5151 MB / 1.143 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.9404, allocations: 37 kB / 1.143 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.9405, allocations: 39.95 kB / 1.143 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.9416, allocations: 0.5465 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.9416, allocations: 0 / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.9416, allocations: 16 kB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.9417, allocations: 16.94 kB / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.9428, allocations: 0.5152 MB / 1.144 GB, free: 12.43 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.003053/0.9459, allocations: 2.227 MB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.9466, allocations: 347.8 kB / 1.147 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.9469, allocations: 144.7 kB / 1.147 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.9481, allocations: 0.865 MB / 1.148 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.9484, allocations: 186.9 kB / 1.148 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.9485, allocations: 4 kB / 1.148 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0009612/0.9494, allocations: 438.5 kB / 1.148 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.9495, allocations: 85.05 kB / 1.149 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.9503, allocations: 0.6486 MB / 1.149 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.9503, allocations: 33.69 kB / 1.149 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.9506, allocations: 319.7 kB / 1.149 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.9506, allocations: 86.83 kB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.9507, allocations: 8 kB / 1.15 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9508, allocations: 378.7 kB / 1.15 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.9512, allocations: 127.9 kB / 1.15 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.9516, allocations: 269 kB / 1.15 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.952, allocations: 168.6 kB / 1.15 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.952, allocations: 0 / 1.15 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009252/0.9529, allocations: 475.5 kB / 1.151 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.953, allocations: 199.7 kB / 1.151 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.953, allocations: 8 kB / 1.151 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.9531, allocations: 11.94 kB / 1.151 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.9535, allocations: 87.83 kB / 1.151 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.9535, allocations: 8 kB / 1.151 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.9541, allocations: 83.48 kB / 1.151 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.9541, allocations: 27.98 kB / 1.151 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.9541, allocations: 4 kB / 1.151 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008172/0.955, allocations: 383.4 kB / 1.152 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.955, allocations: 4 kB / 1.152 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.955, allocations: 7.984 kB / 1.152 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.9554, allocations: 88.33 kB / 1.152 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.9554, allocations: 15.94 kB / 1.152 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.9558, allocations: 67.56 kB / 1.152 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.9559, allocations: 27.97 kB / 1.152 GB, free: 4.102 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 (43): * Single equations (assignments): 43 * 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.0002492/0.9561, allocations: 289.2 kB / 1.152 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.9562, allocations: 59.25 kB / 1.152 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.9568, allocations: 329 kB / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9568, allocations: 0 / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9568, allocations: 4 kB / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9568, allocations: 0 / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.9582, allocations: 1.09 MB / 1.154 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.9583, allocations: 0 / 1.154 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.9584, allocations: 35.98 kB / 1.154 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9585, allocations: 4 kB / 1.154 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.9585, allocations: 12.27 kB / 1.154 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.9585, allocations: 15.92 kB / 1.154 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9585, allocations: 4 kB / 1.154 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.9591, allocations: 471.9 kB / 1.154 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.9593, allocations: 168.2 kB / 1.154 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.9593, allocations: 11.95 kB / 1.154 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.9597, allocations: 31.97 kB / 1.154 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.9597, allocations: 23.92 kB / 1.154 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.9598, allocations: 8 kB / 1.154 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006131/0.9604, allocations: 475 kB / 1.155 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9604, allocations: 0 / 1.155 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008426/0.9612, allocations: 271.6 kB / 1.155 GB, free: 0.6719 MB / 0.9044 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 (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.00124/0.9625, allocations: 0.5127 MB / 1.156 GB, free: 324 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.9636, allocations: 0.4952 MB / 1.156 GB, free: 15.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9636, allocations: 4 kB / 1.156 GB, free: 15.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.9638, allocations: 119.8 kB / 1.156 GB, free: 15.7 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.965, allocations: 273.4 kB / 1.156 GB, free: 15.45 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.9668, allocations: 1.206 MB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.9672, allocations: 0.894 MB / 1.158 GB, free: 13.26 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006748/0.9679, allocations: 168.8 kB / 1.159 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.9681, allocations: 47.42 kB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.9681, allocations: 0 / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of Templates: time 0.01656/0.9846, allocations: 9.726 MB / 1.168 GB, free: 3.461 MB / 0.92 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