Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 188.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 95.22 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004419, allocations: 10.53 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.406/6.704, allocations: 2.201 GB / 3.101 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/6.704, allocations: 97.28 kB / 3.101 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/8.394, allocations: 0.5807 GB / 3.681 GB, free: 72.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/8.394, allocations: 3.938 kB / 3.681 GB, free: 72.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.095e-05/8.394, allocations: 23.98 kB / 3.681 GB, free: 72.42 MB / 0.8855 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.00318/8.397, allocations: 1.118 MB / 3.683 GB, free: 71.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/8.397, allocations: 8.031 kB / 3.683 GB, free: 71.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/8.399, allocations: 219 kB / 3.683 GB, free: 71.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/8.401, allocations: 0.891 MB / 3.684 GB, free: 70.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/8.401, allocations: 33 kB / 3.684 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/8.401, allocations: 41.55 kB / 3.684 GB, free: 70.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/8.402, allocations: 0.5075 MB / 3.684 GB, free: 69.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/8.402, allocations: 0 / 3.684 GB, free: 69.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/8.402, allocations: 16 kB / 3.684 GB, free: 69.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/8.402, allocations: 24.92 kB / 3.684 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/8.403, allocations: 451.6 kB / 3.685 GB, free: 69.02 MB / 0.8855 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.002592/8.405, allocations: 2.12 MB / 3.687 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/8.406, allocations: 275.2 kB / 3.687 GB, free: 66.44 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/8.407, allocations: 0.8143 MB / 3.688 GB, free: 65.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/8.407, allocations: 200 kB / 3.688 GB, free: 65.24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/8.407, allocations: 4 kB / 3.688 GB, free: 65.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0009437/8.408, allocations: 444.4 kB / 3.688 GB, free: 64.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/8.408, allocations: 106.8 kB / 3.689 GB, free: 64.67 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/8.409, allocations: 0.5502 MB / 3.689 GB, free: 64.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/8.409, allocations: 29.7 kB / 3.689 GB, free: 64.08 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/8.409, allocations: 343.7 kB / 3.689 GB, free: 63.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/8.409, allocations: 86.75 kB / 3.69 GB, free: 63.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/8.409, allocations: 4 kB / 3.69 GB, free: 63.65 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/8.409, allocations: 374.8 kB / 3.69 GB, free: 63.28 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/8.409, allocations: 104.8 kB / 3.69 GB, free: 63.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/8.41, allocations: 299 kB / 3.69 GB, free: 62.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/8.41, allocations: 160 kB / 3.69 GB, free: 62.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/8.41, allocations: 0 / 3.69 GB, free: 62.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005781/8.41, allocations: 445.6 kB / 3.691 GB, free: 62.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003612/8.411, allocations: 1.659 MB / 3.692 GB, free: 60.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/8.411, allocations: 7.938 kB / 3.692 GB, free: 60.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/8.411, allocations: 8 kB / 3.692 GB, free: 60.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/8.411, allocations: 87.83 kB / 3.693 GB, free: 60.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/8.411, allocations: 4 kB / 3.693 GB, free: 60.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/8.412, allocations: 67.42 kB / 3.693 GB, free: 60.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/8.412, allocations: 19.98 kB / 3.693 GB, free: 60.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/8.412, allocations: 4.625 kB / 3.693 GB, free: 60.22 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000496/8.412, allocations: 365.6 kB / 3.693 GB, free: 59.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/8.412, allocations: 4.094 kB / 3.693 GB, free: 59.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/8.412, allocations: 11.94 kB / 3.693 GB, free: 59.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/8.412, allocations: 83.8 kB / 3.693 GB, free: 59.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/8.412, allocations: 11.98 kB / 3.693 GB, free: 59.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/8.413, allocations: 47.67 kB / 3.693 GB, free: 59.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/8.413, allocations: 20.03 kB / 3.693 GB, free: 59.69 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 47 * 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.0002473/8.413, allocations: 297.9 kB / 3.693 GB, free: 59.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/8.413, allocations: 59.25 kB / 3.694 GB, free: 59.33 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/8.414, allocations: 322.9 kB / 3.694 GB, free: 59.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/8.414, allocations: 7.953 kB / 3.694 GB, free: 59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/8.414, allocations: 0 / 3.694 GB, free: 59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/8.414, allocations: 0 / 3.694 GB, free: 59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/8.415, allocations: 1.178 MB / 3.695 GB, free: 57.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/8.415, allocations: 0 / 3.695 GB, free: 57.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/8.415, allocations: 43.92 kB / 3.695 GB, free: 57.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/8.415, allocations: 4 kB / 3.695 GB, free: 57.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/8.415, allocations: 8 kB / 3.695 GB, free: 57.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/8.415, allocations: 8 kB / 3.695 GB, free: 57.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/8.415, allocations: 0 / 3.695 GB, free: 57.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007738/8.416, allocations: 0.7292 MB / 3.696 GB, free: 56.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/8.416, allocations: 172.3 kB / 3.696 GB, free: 56.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/8.416, allocations: 16.02 kB / 3.696 GB, free: 56.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/8.417, allocations: 15.98 kB / 3.696 GB, free: 56.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/8.417, allocations: 23.92 kB / 3.696 GB, free: 56.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/8.417, allocations: 8 kB / 3.696 GB, free: 56.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004293/8.417, allocations: 451 kB / 3.696 GB, free: 56.17 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/8.417, allocations: 4 kB / 3.696 GB, free: 56.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00174/8.419, allocations: 419.4 kB / 3.697 GB, free: 55.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.00325/8.422, allocations: 1.705 MB / 3.698 GB, free: 54.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008648/8.423, allocations: 473.5 kB / 3.699 GB, free: 53.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/8.423, allocations: 0 / 3.699 GB, free: 53.69 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/8.423, allocations: 136.4 kB / 3.699 GB, free: 53.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/8.425, allocations: 269.5 kB / 3.699 GB, free: 53.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/8.429, allocations: 2.06 MB / 3.701 GB, free: 51.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/8.43, allocations: 0.9181 MB / 3.702 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007205/8.43, allocations: 164.9 kB / 3.702 GB, free: 50.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/8.43, allocations: 55.42 kB / 3.702 GB, free: 50.01 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/8.43, allocations: 0 / 3.702 GB, free: 50.01 MB / 0.8855 GB Notification: Performance of Templates: time 0.03454/8.465, allocations: 26.21 MB / 3.728 GB, free: 23.88 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches