Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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,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") 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_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, 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.001079/0.001079, allocations: 188.9 kB / 492.3 MB, free: 0.6328 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.614/1.614, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0008932/0.0008932, allocations: 99.88 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.692e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2928, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.661/5.954, allocations: 1.888 GB / 3.1 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/5.954, allocations: 85.33 kB / 3.1 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.165/8.119, allocations: 0.605 GB / 3.705 GB, free: 263.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.522e-06/8.119, allocations: 0 / 3.705 GB, free: 263.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.712e-05/8.119, allocations: 19.44 kB / 3.705 GB, free: 263.8 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.002863/8.122, allocations: 1.037 MB / 3.706 GB, free: 262.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/8.122, allocations: 8.031 kB / 3.706 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/8.123, allocations: 220.2 kB / 3.707 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/8.125, allocations: 0.89 MB / 3.708 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/8.125, allocations: 28.78 kB / 3.708 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/8.125, allocations: 43.5 kB / 3.708 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/8.126, allocations: 492.5 kB / 3.708 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/8.126, allocations: 6.859 kB / 3.708 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/8.126, allocations: 16 kB / 3.708 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/8.126, allocations: 16.78 kB / 3.708 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/8.127, allocations: 379 kB / 3.708 GB, free: 260.8 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.002409/8.129, allocations: 2.149 MB / 3.711 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/8.13, allocations: 246.3 kB / 3.711 GB, free: 258.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/8.13, allocations: 128.7 kB / 3.711 GB, free: 258.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/8.131, allocations: 0.8203 MB / 3.712 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/8.131, allocations: 195.8 kB / 3.712 GB, free: 256.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 4.157e-06/8.131, allocations: 2.75 kB / 3.712 GB, free: 256.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0007177/8.132, allocations: 332.7 kB / 3.712 GB, free: 256.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/8.132, allocations: 110.8 kB / 3.712 GB, free: 256.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/8.132, allocations: 0.5461 MB / 3.713 GB, free: 255.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/8.132, allocations: 33.31 kB / 3.713 GB, free: 255.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/8.133, allocations: 335.6 kB / 3.713 GB, free: 255.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/8.133, allocations: 86.67 kB / 3.713 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/8.133, allocations: 4 kB / 3.713 GB, free: 255.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/8.133, allocations: 370.8 kB / 3.714 GB, free: 255.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/8.133, allocations: 104.7 kB / 3.714 GB, free: 255 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/8.133, allocations: 284.7 kB / 3.714 GB, free: 254.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/8.133, allocations: 157 kB / 3.714 GB, free: 254.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/8.133, allocations: 0 / 3.714 GB, free: 254.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005437/8.134, allocations: 434.1 kB / 3.715 GB, free: 254.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003632/8.134, allocations: 1.833 MB / 3.716 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/8.134, allocations: 4 kB / 3.716 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/8.134, allocations: 8 kB / 3.716 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/8.135, allocations: 87.83 kB / 3.717 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/8.135, allocations: 4 kB / 3.717 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/8.135, allocations: 59.52 kB / 3.717 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/8.135, allocations: 23.98 kB / 3.717 GB, free: 251.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/8.135, allocations: 8.562 kB / 3.717 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004492/8.136, allocations: 352.9 kB / 3.717 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/8.136, allocations: 12 kB / 3.717 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/8.136, allocations: 8 kB / 3.717 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/8.136, allocations: 79.83 kB / 3.717 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/8.136, allocations: 11.95 kB / 3.717 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/8.136, allocations: 59.86 kB / 3.717 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/8.136, allocations: 20 kB / 3.717 GB, free: 251.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 (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 9.549e-05/8.136, allocations: 129.8 kB / 3.717 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/8.136, allocations: 67.25 kB / 3.717 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/8.137, allocations: 302.7 kB / 3.718 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/8.137, allocations: 4 kB / 3.718 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/8.137, allocations: 4 kB / 3.718 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/8.137, allocations: 7.953 kB / 3.718 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/8.138, allocations: 1.153 MB / 3.719 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/8.138, allocations: 4 kB / 3.719 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/8.138, allocations: 39.97 kB / 3.719 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/8.138, allocations: 4.094 kB / 3.719 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/8.138, allocations: 19.86 kB / 3.719 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/8.138, allocations: 4 kB / 3.719 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/8.138, allocations: 4 kB / 3.719 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/8.139, allocations: 0.5732 MB / 3.719 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/8.139, allocations: 168.2 kB / 3.72 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/8.139, allocations: 15.98 kB / 3.72 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/8.139, allocations: 12 kB / 3.72 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/8.139, allocations: 28.02 kB / 3.72 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/8.139, allocations: 8 kB / 3.72 GB, free: 248.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003899/8.14, allocations: 447.1 kB / 3.72 GB, free: 248.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/8.14, allocations: 0 / 3.72 GB, free: 248.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001977/8.142, allocations: 415.2 kB / 3.72 GB, free: 247.8 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.003861/8.146, allocations: 1.662 MB / 3.722 GB, free: 246.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001274/8.147, allocations: 478.9 kB / 3.722 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/8.147, allocations: 4.25 kB / 3.722 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/8.147, allocations: 119.8 kB / 3.723 GB, free: 245.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/8.15, allocations: 253.7 kB / 3.723 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/8.156, allocations: 1.56 MB / 3.724 GB, free: 244 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/8.156, allocations: 0.9108 MB / 3.725 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001623/8.158, allocations: 240.7 kB / 3.725 GB, free: 242.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/8.158, allocations: 39.42 kB / 3.726 GB, free: 242.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.522e-06/8.158, allocations: 0 / 3.726 GB, free: 242.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04813/8.206, allocations: 30.84 MB / 3.756 GB, free: 212.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches