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.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001209/0.001209, allocations: 177.1 kB / 498.1 MB, free: 5.73 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.542/1.542, allocations: 223.2 MB / 0.7948 GB, free: 17.76 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.0009851/0.0009851, allocations: 91.86 kB / 0.9346 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 10.56 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3848, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.29/5.675, allocations: 1.888 GB / 3.111 GB, free: 98 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003495/5.676, allocations: 93.77 kB / 3.111 GB, free: 97.95 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.996/8.671, allocations: 0.6056 GB / 3.717 GB, free: 314 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/8.671, allocations: 0 / 3.717 GB, free: 314 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001239/8.672, allocations: 21.86 kB / 3.717 GB, free: 314 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.004528/8.676, allocations: 1.143 MB / 3.718 GB, free: 313.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/8.676, allocations: 10.84 kB / 3.718 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/8.678, allocations: 226.7 kB / 3.718 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/8.681, allocations: 0.8908 MB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/8.682, allocations: 30.84 kB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/8.682, allocations: 42.69 kB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/8.683, allocations: 0.4987 MB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/8.683, allocations: 3.812 kB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/8.683, allocations: 17.22 kB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/8.683, allocations: 19.31 kB / 3.719 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/8.684, allocations: 416.9 kB / 3.72 GB, free: 313.2 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.004245/8.688, allocations: 2.149 MB / 3.722 GB, free: 312 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/8.689, allocations: 256.1 kB / 3.722 GB, free: 312 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/8.69, allocations: 0.8175 MB / 3.723 GB, free: 311.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/8.691, allocations: 195.8 kB / 3.723 GB, free: 311.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/8.691, allocations: 0 / 3.723 GB, free: 311.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001288/8.692, allocations: 436 kB / 3.723 GB, free: 311 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/8.692, allocations: 105.2 kB / 3.724 GB, free: 310.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/8.693, allocations: 0.5464 MB / 3.724 GB, free: 310.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/8.693, allocations: 32.92 kB / 3.724 GB, free: 310.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/8.693, allocations: 334 kB / 3.724 GB, free: 310.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/8.694, allocations: 86.27 kB / 3.725 GB, free: 310.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/8.694, allocations: 3.938 kB / 3.725 GB, free: 310.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001745/8.694, allocations: 374.8 kB / 3.725 GB, free: 310.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/8.694, allocations: 108.5 kB / 3.725 GB, free: 310.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/8.694, allocations: 290.8 kB / 3.725 GB, free: 310 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/8.695, allocations: 155.7 kB / 3.725 GB, free: 310 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/8.695, allocations: 0 / 3.725 GB, free: 310 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008299/8.695, allocations: 443.3 kB / 3.726 GB, free: 309.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006939/8.696, allocations: 1.842 MB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/8.696, allocations: 3.844 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.917e-05/8.696, allocations: 10.91 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/8.697, allocations: 77.5 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/8.697, allocations: 10.84 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/8.697, allocations: 61.52 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/8.697, allocations: 24.77 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/8.697, allocations: 11.08 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006555/8.698, allocations: 358.7 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/8.698, allocations: 3.594 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/8.698, allocations: 7.344 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/8.698, allocations: 87.59 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/8.698, allocations: 7.719 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/8.699, allocations: 49.78 kB / 3.728 GB, free: 308 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/8.699, allocations: 25.27 kB / 3.728 GB, free: 308 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 (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.0004046/8.7, allocations: 293 kB / 3.729 GB, free: 307.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/8.7, allocations: 60.16 kB / 3.729 GB, free: 307.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/8.7, allocations: 314.9 kB / 3.729 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/8.7, allocations: 5.906 kB / 3.729 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/8.7, allocations: 3.812 kB / 3.729 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/8.7, allocations: 3.5 kB / 3.729 GB, free: 307.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/8.702, allocations: 1.157 MB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/8.702, allocations: 3.906 kB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/8.702, allocations: 43 kB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/8.702, allocations: 3.781 kB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/8.702, allocations: 15.05 kB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/8.702, allocations: 10.03 kB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/8.702, allocations: 3.609 kB / 3.73 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/8.703, allocations: 0.5821 MB / 3.731 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/8.703, allocations: 166.3 kB / 3.731 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/8.703, allocations: 10.78 kB / 3.731 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/8.704, allocations: 18.09 kB / 3.731 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/8.704, allocations: 25.39 kB / 3.731 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/8.704, allocations: 18.25 kB / 3.731 GB, free: 306.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005562/8.704, allocations: 440.7 kB / 3.731 GB, free: 306.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/8.704, allocations: 0 / 3.731 GB, free: 306.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001812/8.706, allocations: 421 kB / 3.732 GB, free: 306.6 MB / 1.167 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) * Number of clocked states: 0 () * 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.003404/8.71, allocations: 1.696 MB / 3.734 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009383/8.711, allocations: 475.8 kB / 3.734 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/8.711, allocations: 3.625 kB / 3.734 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/8.711, allocations: 125.7 kB / 3.734 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/8.712, allocations: 256.8 kB / 3.734 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/8.717, allocations: 2 MB / 3.736 GB, free: 305.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/8.717, allocations: 0.9015 MB / 3.737 GB, free: 304.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007983/8.718, allocations: 182.8 kB / 3.737 GB, free: 304.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/8.718, allocations: 46.5 kB / 3.737 GB, free: 304.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.763e-06/8.718, allocations: 2.625 kB / 3.737 GB, free: 304.8 MB / 1.167 GB Notification: Performance of Templates: time 0.04612/8.764, allocations: 25.99 MB / 3.763 GB, free: 304.3 MB / 1.167 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