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.117/2.117, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001329/0.001329, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.351/1.351, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 87.91 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.911e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.474/4.723, allocations: 1.887 GB / 3.093 GB, free: 361.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/4.723, allocations: 85.36 kB / 3.093 GB, free: 361.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.958/6.682, allocations: 0.5985 GB / 3.692 GB, free: 261.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/6.682, allocations: 0 / 3.692 GB, free: 261.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.712e-05/6.682, allocations: 23.44 kB / 3.692 GB, free: 261.4 MB / 1.151 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.002602/6.684, allocations: 1.033 MB / 3.693 GB, free: 260.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/6.684, allocations: 8.031 kB / 3.693 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/6.686, allocations: 218.9 kB / 3.693 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/6.688, allocations: 0.8918 MB / 3.694 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/6.688, allocations: 12 kB / 3.694 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/6.688, allocations: 31.27 kB / 3.694 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000518/6.688, allocations: 341.4 kB / 3.694 GB, free: 258.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/6.689, allocations: 435.9 kB / 3.695 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/6.689, allocations: 4 kB / 3.695 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/6.689, allocations: 0 / 3.695 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/6.689, allocations: 20.72 kB / 3.695 GB, free: 258.5 MB / 1.151 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.002178/6.691, allocations: 2.059 MB / 3.697 GB, free: 256.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/6.692, allocations: 262.6 kB / 3.697 GB, free: 256 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/6.692, allocations: 120.8 kB / 3.697 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008739/6.693, allocations: 0.8181 MB / 3.698 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/6.693, allocations: 203.3 kB / 3.698 GB, free: 254.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.755e-06/6.693, allocations: 3.984 kB / 3.698 GB, free: 254.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.003486/6.696, allocations: 0.8181 MB / 3.699 GB, free: 253.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/6.696, allocations: 111 kB / 3.699 GB, free: 253.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/6.697, allocations: 454.2 kB / 3.7 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/6.697, allocations: 25.7 kB / 3.7 GB, free: 253.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/6.697, allocations: 331.7 kB / 3.7 GB, free: 252.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/6.697, allocations: 94.59 kB / 3.7 GB, free: 252.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/6.697, allocations: 0 / 3.7 GB, free: 252.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/6.697, allocations: 370.7 kB / 3.7 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/6.697, allocations: 104.8 kB / 3.7 GB, free: 252.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/6.698, allocations: 287.3 kB / 3.701 GB, free: 252 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/6.7, allocations: 0.6482 MB / 3.701 GB, free: 251.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/6.7, allocations: 0 / 3.701 GB, free: 251.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003215/6.704, allocations: 0.8962 MB / 3.702 GB, free: 250.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000342/6.704, allocations: 1.837 MB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/6.704, allocations: 4 kB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/6.704, allocations: 8 kB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/6.704, allocations: 83.89 kB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/6.704, allocations: 15.94 kB / 3.704 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/6.705, allocations: 47.56 kB / 3.704 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/6.705, allocations: 20 kB / 3.704 GB, free: 248.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/6.705, allocations: 0 / 3.704 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003062/6.708, allocations: 0.8197 MB / 3.705 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/6.708, allocations: 4.562 kB / 3.705 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/6.708, allocations: 8 kB / 3.705 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/6.708, allocations: 95.83 kB / 3.705 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/6.708, allocations: 11.95 kB / 3.705 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/6.709, allocations: 35.67 kB / 3.705 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/6.709, allocations: 19.98 kB / 3.705 GB, free: 247.3 MB / 1.151 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.0001246/6.709, allocations: 131.2 kB / 3.705 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/6.709, allocations: 55.34 kB / 3.705 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/6.712, allocations: 0.7878 MB / 3.706 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/6.712, allocations: 4 kB / 3.706 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/6.712, allocations: 0 / 3.706 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/6.712, allocations: 7.953 kB / 3.706 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/6.716, allocations: 1.598 MB / 3.708 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/6.716, allocations: 4 kB / 3.708 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/6.716, allocations: 55.91 kB / 3.708 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/6.716, allocations: 4.234 kB / 3.708 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/6.716, allocations: 12.03 kB / 3.708 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/6.716, allocations: 7.938 kB / 3.708 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/6.716, allocations: 4.219 kB / 3.708 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/6.72, allocations: 1.199 MB / 3.709 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/6.72, allocations: 164.4 kB / 3.709 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/6.72, allocations: 11.98 kB / 3.709 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/6.72, allocations: 11.91 kB / 3.709 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/6.721, allocations: 27.92 kB / 3.709 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/6.721, allocations: 16 kB / 3.709 GB, free: 243 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004051/6.721, allocations: 346.9 kB / 3.709 GB, free: 242.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.721, allocations: 3.391 kB / 3.709 GB, free: 242.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001374/6.722, allocations: 371.4 kB / 3.71 GB, free: 242.3 MB / 1.151 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.003052/6.725, allocations: 1.809 MB / 3.712 GB, free: 240.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008267/6.726, allocations: 477.1 kB / 3.712 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/6.726, allocations: 4.188 kB / 3.712 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/6.726, allocations: 128.6 kB / 3.712 GB, free: 240.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/6.727, allocations: 207.5 kB / 3.712 GB, free: 239.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/6.731, allocations: 1.637 MB / 3.714 GB, free: 238.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/6.732, allocations: 0.9067 MB / 3.715 GB, free: 237.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007956/6.733, allocations: 208.5 kB / 3.715 GB, free: 237.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/6.733, allocations: 35.44 kB / 3.715 GB, free: 237.1 MB / 1.151 GB Notification: Performance of SimCode: time 4.61e-07/6.733, allocations: 0 / 3.715 GB, free: 237.1 MB / 1.151 GB Notification: Performance of Templates: time 0.02466/6.757, allocations: 16.86 MB / 3.732 GB, free: 220.4 MB / 1.151 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