Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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,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") 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_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.555/2.555, allocations: 390.5 MB / 398 MB, free: 10.98 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.001206/0.001206, allocations: 172.9 kB / 491.2 MB, free: 1.598 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.654/1.654, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009331/0.0009328, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.691e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.714/6.02, allocations: 1.888 GB / 3.1 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/6.021, allocations: 86.39 kB / 3.1 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/8.096, allocations: 0.5984 GB / 3.699 GB, free: 264.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.364e-06/8.096, allocations: 3.984 kB / 3.699 GB, free: 264.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.947e-05/8.096, allocations: 20 kB / 3.699 GB, free: 264.1 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.003314/8.099, allocations: 1.031 MB / 3.7 GB, free: 263.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/8.099, allocations: 8.031 kB / 3.7 GB, free: 263.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/8.101, allocations: 221.9 kB / 3.7 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/8.103, allocations: 0.8945 MB / 3.701 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/8.104, allocations: 12 kB / 3.701 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/8.104, allocations: 24 kB / 3.701 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006122/8.104, allocations: 337.5 kB / 3.701 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/8.105, allocations: 446.7 kB / 3.702 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/8.105, allocations: 3.172 kB / 3.702 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/8.105, allocations: 0 / 3.702 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/8.105, allocations: 16.77 kB / 3.702 GB, free: 261.2 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.00272/8.108, allocations: 2.045 MB / 3.704 GB, free: 259 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/8.108, allocations: 234.6 kB / 3.704 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/8.108, allocations: 118 kB / 3.704 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008767/8.109, allocations: 0.8208 MB / 3.705 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/8.109, allocations: 183.8 kB / 3.705 GB, free: 257.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.003e-06/8.109, allocations: 0 / 3.705 GB, free: 257.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.003501/8.113, allocations: 0.8255 MB / 3.706 GB, free: 256.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/8.113, allocations: 110.8 kB / 3.706 GB, free: 256.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/8.114, allocations: 454.1 kB / 3.706 GB, free: 256 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/8.114, allocations: 29.42 kB / 3.706 GB, free: 256 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/8.114, allocations: 343.3 kB / 3.707 GB, free: 255.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/8.114, allocations: 82.84 kB / 3.707 GB, free: 255.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/8.114, allocations: 0 / 3.707 GB, free: 255.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/8.114, allocations: 366.8 kB / 3.707 GB, free: 255.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/8.114, allocations: 92.72 kB / 3.707 GB, free: 255.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/8.114, allocations: 280.6 kB / 3.708 GB, free: 254.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/8.117, allocations: 0.6408 MB / 3.708 GB, free: 254.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/8.117, allocations: 0 / 3.708 GB, free: 254.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003232/8.12, allocations: 0.8999 MB / 3.709 GB, free: 253.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004421/8.121, allocations: 1.838 MB / 3.711 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/8.121, allocations: 4 kB / 3.711 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/8.121, allocations: 8 kB / 3.711 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/8.121, allocations: 79.84 kB / 3.711 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/8.121, allocations: 11.98 kB / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/8.122, allocations: 47.58 kB / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/8.122, allocations: 16 kB / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/8.122, allocations: 4 kB / 3.711 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/8.125, allocations: 0.8129 MB / 3.712 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/8.125, allocations: 4 kB / 3.712 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/8.125, allocations: 8 kB / 3.712 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/8.125, allocations: 79.83 kB / 3.712 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/8.125, allocations: 8.562 kB / 3.712 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/8.126, allocations: 43.66 kB / 3.712 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/8.126, allocations: 23.98 kB / 3.712 GB, free: 250.1 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 (45): * Single equations (assignments): 45 * 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.0001268/8.126, allocations: 120.9 kB / 3.712 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/8.126, allocations: 55.34 kB / 3.712 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/8.129, allocations: 0.8064 MB / 3.713 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/8.129, allocations: 0 / 3.713 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/8.129, allocations: 4 kB / 3.713 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/8.129, allocations: 7.938 kB / 3.713 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/8.133, allocations: 1.589 MB / 3.714 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/8.133, allocations: 4 kB / 3.715 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/8.133, allocations: 43.88 kB / 3.715 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/8.133, allocations: 4 kB / 3.715 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/8.133, allocations: 7.984 kB / 3.715 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/8.133, allocations: 4 kB / 3.715 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/8.133, allocations: 3.938 kB / 3.715 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/8.136, allocations: 1.062 MB / 3.716 GB, free: 246.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/8.137, allocations: 156.4 kB / 3.716 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/8.137, allocations: 7.984 kB / 3.716 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/8.137, allocations: 15.84 kB / 3.716 GB, free: 246 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/8.137, allocations: 27.86 kB / 3.716 GB, free: 246 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/8.137, allocations: 20 kB / 3.716 GB, free: 246 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003678/8.137, allocations: 342.9 kB / 3.716 GB, free: 245.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.137, allocations: 0 / 3.716 GB, free: 245.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001369/8.139, allocations: 375.3 kB / 3.717 GB, free: 245.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.002894/8.142, allocations: 1.809 MB / 3.718 GB, free: 243.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000802/8.143, allocations: 441.6 kB / 3.719 GB, free: 243.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/8.143, allocations: 0 / 3.719 GB, free: 243.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/8.143, allocations: 124.5 kB / 3.719 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/8.144, allocations: 194.9 kB / 3.719 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/8.149, allocations: 1.511 MB / 3.72 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/8.149, allocations: 0.9062 MB / 3.721 GB, free: 240.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009769/8.15, allocations: 208.4 kB / 3.722 GB, free: 240.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/8.15, allocations: 39.42 kB / 3.722 GB, free: 240.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.954e-06/8.15, allocations: 4 kB / 3.722 GB, free: 240.3 MB / 1.151 GB Notification: Performance of Templates: time 0.02722/8.178, allocations: 16.66 MB / 3.738 GB, free: 223.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches