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.526/2.526, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001279/0.001279, allocations: 176.8 kB / 492.3 MB, free: 0.6289 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.703/1.703, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008591/0.0008594, allocations: 87.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.981e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2939, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.741/6.035, allocations: 1.888 GB / 3.1 GB, free: 430.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/6.035, allocations: 86.69 kB / 3.1 GB, free: 430.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.054/8.089, allocations: 0.6052 GB / 3.706 GB, free: 260.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.473e-06/8.089, allocations: 0 / 3.706 GB, free: 260.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.615e-05/8.089, allocations: 19.91 kB / 3.706 GB, free: 260.2 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.0035/8.093, allocations: 1.044 MB / 3.707 GB, free: 259.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.472e-05/8.093, allocations: 8.031 kB / 3.707 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/8.094, allocations: 218.9 kB / 3.707 GB, free: 258.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/8.097, allocations: 0.8872 MB / 3.708 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/8.097, allocations: 32.77 kB / 3.708 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/8.097, allocations: 40 kB / 3.708 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008175/8.098, allocations: 0.4897 MB / 3.708 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/8.098, allocations: 0 / 3.708 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/8.098, allocations: 16 kB / 3.708 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/8.098, allocations: 16.72 kB / 3.708 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/8.099, allocations: 375 kB / 3.709 GB, free: 257.1 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.002724/8.101, allocations: 2.168 MB / 3.711 GB, free: 254.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/8.102, allocations: 270.6 kB / 3.711 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/8.102, allocations: 133.7 kB / 3.711 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000972/8.103, allocations: 0.8133 MB / 3.712 GB, free: 253.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/8.103, allocations: 211.8 kB / 3.712 GB, free: 253.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/8.103, allocations: 3.938 kB / 3.712 GB, free: 253.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.0008044/8.104, allocations: 345.5 kB / 3.713 GB, free: 252.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/8.104, allocations: 111 kB / 3.713 GB, free: 252.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/8.105, allocations: 0.5464 MB / 3.713 GB, free: 252.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/8.105, allocations: 33.7 kB / 3.713 GB, free: 252.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/8.105, allocations: 327.3 kB / 3.714 GB, free: 251.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/8.105, allocations: 94.66 kB / 3.714 GB, free: 251.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/8.105, allocations: 8 kB / 3.714 GB, free: 251.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001047/8.105, allocations: 374.8 kB / 3.714 GB, free: 251.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/8.105, allocations: 112.8 kB / 3.714 GB, free: 251.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/8.106, allocations: 297 kB / 3.714 GB, free: 250.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/8.106, allocations: 165.5 kB / 3.715 GB, free: 250.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/8.106, allocations: 0 / 3.715 GB, free: 250.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006137/8.107, allocations: 464.8 kB / 3.715 GB, free: 250.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004791/8.107, allocations: 1.838 MB / 3.717 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/8.107, allocations: 8 kB / 3.717 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/8.107, allocations: 8 kB / 3.717 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/8.107, allocations: 87.83 kB / 3.717 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/8.107, allocations: 11.98 kB / 3.717 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/8.108, allocations: 59.52 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/8.108, allocations: 28 kB / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/8.108, allocations: 0 / 3.717 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005023/8.109, allocations: 374.4 kB / 3.717 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/8.109, allocations: 8.094 kB / 3.717 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/8.109, allocations: 11.95 kB / 3.717 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/8.109, allocations: 87.89 kB / 3.717 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/8.109, allocations: 7.938 kB / 3.717 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/8.109, allocations: 59.52 kB / 3.717 GB, free: 247.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/8.109, allocations: 23.98 kB / 3.717 GB, free: 247.4 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.0001168/8.109, allocations: 132.9 kB / 3.718 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/8.109, allocations: 63.25 kB / 3.718 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005598/8.11, allocations: 322.5 kB / 3.718 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/8.11, allocations: 3.953 kB / 3.718 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/8.11, allocations: 4 kB / 3.718 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/8.11, allocations: 0 / 3.718 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/8.111, allocations: 1.184 MB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/8.111, allocations: 12 kB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/8.112, allocations: 43.97 kB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/8.112, allocations: 7.281 kB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/8.112, allocations: 8 kB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/8.112, allocations: 7.938 kB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/8.112, allocations: 4.094 kB / 3.719 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/8.113, allocations: 0.7366 MB / 3.72 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/8.113, allocations: 172.2 kB / 3.72 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/8.113, allocations: 19.98 kB / 3.72 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/8.113, allocations: 20.02 kB / 3.72 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/8.113, allocations: 19.97 kB / 3.72 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/8.113, allocations: 12 kB / 3.72 GB, free: 244.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004453/8.114, allocations: 439.1 kB / 3.721 GB, free: 244.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/8.114, allocations: 3.938 kB / 3.721 GB, free: 244 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001578/8.115, allocations: 422.3 kB / 3.721 GB, free: 243.6 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.002886/8.118, allocations: 1.659 MB / 3.723 GB, free: 242.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008547/8.119, allocations: 0.5109 MB / 3.723 GB, free: 241.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/8.119, allocations: 0 / 3.723 GB, free: 241.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/8.119, allocations: 141.5 kB / 3.723 GB, free: 241.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/8.12, allocations: 258.6 kB / 3.724 GB, free: 241.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/8.124, allocations: 1.67 MB / 3.725 GB, free: 239.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/8.125, allocations: 0.9113 MB / 3.726 GB, free: 238.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000863/8.126, allocations: 236.8 kB / 3.726 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/8.126, allocations: 43.42 kB / 3.726 GB, free: 238.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/8.126, allocations: 0 / 3.726 GB, free: 238.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04063/8.166, allocations: 31.05 MB / 3.757 GB, free: 207.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