Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.33/2.33, allocations: 390.3 MB / 402.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009709/0.0009711, allocations: 95.88 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.11e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.134/5.445, allocations: 1.889 GB / 3.108 GB, free: 319.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/5.445, allocations: 85.3 kB / 3.108 GB, free: 319.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.018/7.463, allocations: 0.6052 GB / 3.713 GB, free: 181.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.092e-06/7.463, allocations: 0 / 3.713 GB, free: 181.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.723e-05/7.463, allocations: 20 kB / 3.713 GB, free: 181.7 MB / 1.167 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.003343/7.467, allocations: 1.038 MB / 3.714 GB, free: 180.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/7.467, allocations: 8.031 kB / 3.714 GB, free: 180.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/7.468, allocations: 222.9 kB / 3.714 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/7.471, allocations: 0.8996 MB / 3.715 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/7.471, allocations: 32.78 kB / 3.715 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/7.471, allocations: 47.92 kB / 3.715 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/7.472, allocations: 0.4896 MB / 3.715 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/7.472, allocations: 0 / 3.715 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/7.472, allocations: 16 kB / 3.715 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/7.472, allocations: 16.73 kB / 3.716 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/7.473, allocations: 379 kB / 3.716 GB, free: 178.5 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.002939/7.476, allocations: 2.156 MB / 3.718 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/7.477, allocations: 270.6 kB / 3.718 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/7.477, allocations: 129.6 kB / 3.718 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009173/7.478, allocations: 0.8222 MB / 3.719 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/7.478, allocations: 211.8 kB / 3.719 GB, free: 174.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 2.464e-06/7.478, allocations: 0 / 3.719 GB, free: 174.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.0008394/7.479, allocations: 348.9 kB / 3.72 GB, free: 174.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/7.479, allocations: 107 kB / 3.72 GB, free: 174.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/7.48, allocations: 0.5502 MB / 3.72 GB, free: 173.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/7.48, allocations: 33.7 kB / 3.72 GB, free: 173.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/7.48, allocations: 323.6 kB / 3.721 GB, free: 173.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/7.48, allocations: 102.6 kB / 3.721 GB, free: 173 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/7.48, allocations: 4 kB / 3.721 GB, free: 173 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001073/7.48, allocations: 378.8 kB / 3.721 GB, free: 172.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/7.48, allocations: 112.8 kB / 3.721 GB, free: 172.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/7.48, allocations: 293.6 kB / 3.722 GB, free: 172.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/7.481, allocations: 161.4 kB / 3.722 GB, free: 172 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.481, allocations: 0 / 3.722 GB, free: 172 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006606/7.481, allocations: 466.6 kB / 3.722 GB, free: 171.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004318/7.482, allocations: 1.826 MB / 3.724 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/7.482, allocations: 8 kB / 3.724 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/7.482, allocations: 8 kB / 3.724 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/7.482, allocations: 99.78 kB / 3.724 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/7.482, allocations: 11.92 kB / 3.724 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/7.483, allocations: 59.52 kB / 3.724 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/7.483, allocations: 24 kB / 3.724 GB, free: 169.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/7.483, allocations: 4.625 kB / 3.724 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005675/7.483, allocations: 373.5 kB / 3.724 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/7.483, allocations: 4 kB / 3.724 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/7.483, allocations: 8 kB / 3.724 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/7.484, allocations: 92.39 kB / 3.725 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/7.484, allocations: 12.09 kB / 3.725 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/7.484, allocations: 59.45 kB / 3.725 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/7.484, allocations: 19.98 kB / 3.725 GB, free: 168.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001183/7.484, allocations: 141.5 kB / 3.725 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/7.484, allocations: 63.25 kB / 3.725 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/7.485, allocations: 326.5 kB / 3.725 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/7.485, allocations: 4 kB / 3.725 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/7.485, allocations: 0 / 3.725 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/7.485, allocations: 240 / 3.725 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/7.486, allocations: 1.184 MB / 3.726 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/7.486, allocations: 7.938 kB / 3.726 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/7.487, allocations: 51.89 kB / 3.726 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/7.487, allocations: 4.281 kB / 3.726 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/7.487, allocations: 12 kB / 3.726 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/7.487, allocations: 4 kB / 3.726 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/7.487, allocations: 4 kB / 3.726 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/7.487, allocations: 0.7282 MB / 3.727 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/7.488, allocations: 172.3 kB / 3.727 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/7.488, allocations: 15.98 kB / 3.727 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/7.488, allocations: 12 kB / 3.727 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/7.488, allocations: 35.92 kB / 3.727 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/7.488, allocations: 8 kB / 3.727 GB, free: 165.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004291/7.489, allocations: 439.1 kB / 3.728 GB, free: 165.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/7.489, allocations: 0 / 3.728 GB, free: 165.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001477/7.49, allocations: 419.5 kB / 3.728 GB, free: 165 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.002841/7.493, allocations: 1.652 MB / 3.73 GB, free: 163.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007987/7.494, allocations: 0.5099 MB / 3.73 GB, free: 162.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/7.494, allocations: 0 / 3.73 GB, free: 162.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/7.494, allocations: 137.4 kB / 3.73 GB, free: 162.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/7.495, allocations: 267 kB / 3.731 GB, free: 162.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/7.499, allocations: 1.674 MB / 3.732 GB, free: 160.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/7.5, allocations: 0.9191 MB / 3.733 GB, free: 159.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008744/7.5, allocations: 232.8 kB / 3.733 GB, free: 159.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/7.501, allocations: 43.42 kB / 3.733 GB, free: 159.6 MB / 1.167 GB Notification: Performance of SimCode: time 5.2e-07/7.501, allocations: 0 / 3.733 GB, free: 159.6 MB / 1.167 GB Notification: Performance of Templates: time 0.04446/7.545, allocations: 31.05 MB / 3.764 GB, free: 128.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches