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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001407/0.001407, allocations: 169.1 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001054/0.001055, allocations: 94.08 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3913, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.241/5.632, allocations: 1.888 GB / 3.111 GB, free: 126.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/5.632, allocations: 95.3 kB / 3.111 GB, free: 126.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.772/8.404, allocations: 0.6057 GB / 3.717 GB, free: 317.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 9.62e-07/8.404, allocations: 0 / 3.717 GB, free: 317.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.013e-05/8.404, allocations: 18.41 kB / 3.717 GB, free: 317.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.003462/8.408, allocations: 1.152 MB / 3.718 GB, free: 317.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/8.408, allocations: 7.875 kB / 3.718 GB, free: 317.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/8.409, allocations: 222.4 kB / 3.718 GB, free: 317.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/8.411, allocations: 0.9006 MB / 3.719 GB, free: 317 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/8.412, allocations: 26.97 kB / 3.719 GB, free: 317 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/8.412, allocations: 46.25 kB / 3.719 GB, free: 317 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/8.413, allocations: 0.5065 MB / 3.72 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/8.413, allocations: 0 / 3.72 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/8.413, allocations: 15.47 kB / 3.72 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/8.413, allocations: 28.83 kB / 3.72 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00082/8.413, allocations: 410 kB / 3.72 GB, free: 316.9 MB / 1.167 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.002711/8.416, allocations: 2.164 MB / 3.722 GB, free: 315.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/8.417, allocations: 288.3 kB / 3.722 GB, free: 315.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009491/8.418, allocations: 0.815 MB / 3.723 GB, free: 314.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/8.418, allocations: 205.3 kB / 3.723 GB, free: 314.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 1.993e-06/8.418, allocations: 0 / 3.723 GB, free: 314.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.001018/8.419, allocations: 457.9 kB / 3.724 GB, free: 314.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/8.419, allocations: 112.5 kB / 3.724 GB, free: 314.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/8.42, allocations: 0.5476 MB / 3.724 GB, free: 314.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/8.42, allocations: 29.2 kB / 3.724 GB, free: 314.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/8.42, allocations: 330.8 kB / 3.725 GB, free: 314.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/8.42, allocations: 96.34 kB / 3.725 GB, free: 314.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/8.42, allocations: 9.375 kB / 3.725 GB, free: 314.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001123/8.42, allocations: 371.3 kB / 3.725 GB, free: 313.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/8.42, allocations: 112.5 kB / 3.725 GB, free: 313.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/8.421, allocations: 308 kB / 3.726 GB, free: 313.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/8.421, allocations: 165.5 kB / 3.726 GB, free: 313.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/8.421, allocations: 0 / 3.726 GB, free: 313.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006477/8.422, allocations: 479.2 kB / 3.726 GB, free: 313.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003874/8.422, allocations: 1.831 MB / 3.728 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/8.422, allocations: 7.219 kB / 3.728 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/8.422, allocations: 7.344 kB / 3.728 GB, free: 311.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/8.422, allocations: 89.8 kB / 3.728 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/8.422, allocations: 12.03 kB / 3.728 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/8.423, allocations: 63.53 kB / 3.728 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/8.423, allocations: 25.73 kB / 3.728 GB, free: 311.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/8.423, allocations: 3.844 kB / 3.728 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005349/8.423, allocations: 380.5 kB / 3.729 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/8.423, allocations: 3.219 kB / 3.729 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/8.423, allocations: 7.781 kB / 3.729 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/8.424, allocations: 92.3 kB / 3.729 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/8.424, allocations: 9.531 kB / 3.729 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/8.424, allocations: 50.64 kB / 3.729 GB, free: 311.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/8.424, allocations: 26.06 kB / 3.729 GB, free: 311.7 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 () * Number of clocked 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.000281/8.424, allocations: 297.5 kB / 3.729 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/8.425, allocations: 61.19 kB / 3.729 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/8.425, allocations: 335.2 kB / 3.729 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/8.425, allocations: 3.969 kB / 3.729 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/8.425, allocations: 7 kB / 3.729 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/8.425, allocations: 0 / 3.729 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/8.427, allocations: 1.192 MB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/8.427, allocations: 3.531 kB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/8.427, allocations: 45.53 kB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/8.427, allocations: 5.719 kB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/8.427, allocations: 17.77 kB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/8.427, allocations: 6 kB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/8.427, allocations: 3.281 kB / 3.731 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/8.428, allocations: 0.7357 MB / 3.731 GB, free: 310.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/8.428, allocations: 174 kB / 3.732 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/8.428, allocations: 8.156 kB / 3.732 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/8.428, allocations: 17.75 kB / 3.732 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/8.428, allocations: 31.3 kB / 3.732 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/8.428, allocations: 7.625 kB / 3.732 GB, free: 310.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004222/8.429, allocations: 450.7 kB / 3.732 GB, free: 310.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.803e-06/8.429, allocations: 0 / 3.732 GB, free: 310.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001463/8.43, allocations: 420.6 kB / 3.732 GB, free: 310.3 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) * Number of clocked states: 0 () * 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.002757/8.433, allocations: 1.715 MB / 3.734 GB, free: 309.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008866/8.434, allocations: 0.4911 MB / 3.735 GB, free: 309.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/8.434, allocations: 2.781 kB / 3.735 GB, free: 309.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/8.434, allocations: 136 kB / 3.735 GB, free: 309.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/8.435, allocations: 262.1 kB / 3.735 GB, free: 309.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/8.44, allocations: 2.158 MB / 3.737 GB, free: 309.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/8.44, allocations: 0.9106 MB / 3.738 GB, free: 308.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007415/8.441, allocations: 172.2 kB / 3.738 GB, free: 308.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/8.441, allocations: 56.06 kB / 3.738 GB, free: 308.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/8.441, allocations: 0 / 3.738 GB, free: 308.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03792/8.479, allocations: 26.18 MB / 3.764 GB, free: 308.1 MB / 1.167 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","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches