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.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,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") 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_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 184.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008752/0.0008753, allocations: 102.5 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.794e-05/4.795e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/5.826, allocations: 2.201 GB / 3.092 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/5.826, allocations: 79.95 kB / 3.092 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.466/8.292, allocations: 0.5799 GB / 3.672 GB, free: 183 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.744e-06/8.292, allocations: 6.25 kB / 3.672 GB, free: 183 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001562/8.292, allocations: 19.7 kB / 3.672 GB, free: 183 MB / 0.8698 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.004892/8.297, allocations: 1.002 MB / 3.673 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.857e-05/8.297, allocations: 9.5 kB / 3.673 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/8.299, allocations: 225.5 kB / 3.674 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/8.303, allocations: 0.8782 MB / 3.674 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/8.303, allocations: 29.84 kB / 3.674 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/8.303, allocations: 42.88 kB / 3.674 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/8.304, allocations: 489.8 kB / 3.675 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/8.304, allocations: 0 / 3.675 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/8.304, allocations: 17.22 kB / 3.675 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/8.304, allocations: 18.03 kB / 3.675 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/8.305, allocations: 416.8 kB / 3.675 GB, free: 182.1 MB / 0.8698 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.003205/8.308, allocations: 2.108 MB / 3.677 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/8.309, allocations: 248.4 kB / 3.678 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/8.309, allocations: 138 kB / 3.678 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009231/8.31, allocations: 0.8165 MB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/8.31, allocations: 182 kB / 3.679 GB, free: 180 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.557e-06/8.31, allocations: 0 / 3.679 GB, free: 180 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.000937/8.311, allocations: 344 kB / 3.679 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/8.311, allocations: 102.8 kB / 3.679 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/8.312, allocations: 0.5485 MB / 3.68 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/8.312, allocations: 32.77 kB / 3.68 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/8.312, allocations: 330 kB / 3.68 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/8.312, allocations: 82.67 kB / 3.68 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/8.312, allocations: 10.12 kB / 3.68 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001075/8.312, allocations: 378.4 kB / 3.681 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/8.312, allocations: 97.45 kB / 3.681 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/8.313, allocations: 290.4 kB / 3.681 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/8.313, allocations: 148.5 kB / 3.681 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/8.313, allocations: 0 / 3.681 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006848/8.314, allocations: 440.1 kB / 3.681 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004156/8.314, allocations: 1.653 MB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/8.314, allocations: 6 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/8.314, allocations: 11.25 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/8.314, allocations: 73.64 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/8.314, allocations: 18.11 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/8.315, allocations: 55 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/8.315, allocations: 16.41 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/8.315, allocations: 10.67 kB / 3.683 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005298/8.316, allocations: 343.9 kB / 3.684 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/8.316, allocations: 7.25 kB / 3.684 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/8.316, allocations: 7.375 kB / 3.684 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/8.316, allocations: 79.05 kB / 3.684 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/8.316, allocations: 9.375 kB / 3.684 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/8.316, allocations: 52.3 kB / 3.684 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/8.316, allocations: 19.19 kB / 3.684 GB, free: 177.1 MB / 0.8698 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 () * 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.00013/8.317, allocations: 133.6 kB / 3.684 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.902e-05/8.317, allocations: 67.03 kB / 3.684 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/8.317, allocations: 308.8 kB / 3.684 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/8.317, allocations: 3.938 kB / 3.684 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/8.317, allocations: 0 / 3.684 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/8.317, allocations: 0 / 3.684 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/8.319, allocations: 1.148 MB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/8.319, allocations: 3.938 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/8.319, allocations: 48.25 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/8.319, allocations: 3.719 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/8.319, allocations: 10.53 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/8.319, allocations: 4.812 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/8.319, allocations: 7.469 kB / 3.685 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/8.319, allocations: 0.5662 MB / 3.686 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/8.32, allocations: 175.8 kB / 3.686 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/8.32, allocations: 10.28 kB / 3.686 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/8.32, allocations: 21.95 kB / 3.686 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/8.32, allocations: 19.88 kB / 3.686 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/8.32, allocations: 13.84 kB / 3.686 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004593/8.321, allocations: 435.2 kB / 3.687 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.763e-06/8.321, allocations: 3.188 kB / 3.687 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001531/8.322, allocations: 417.6 kB / 3.687 GB, free: 175.8 MB / 0.8698 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.003153/8.325, allocations: 1.654 MB / 3.689 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008358/8.326, allocations: 473.4 kB / 3.689 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/8.326, allocations: 0 / 3.689 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/8.326, allocations: 124.5 kB / 3.689 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/8.328, allocations: 254.3 kB / 3.689 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/8.332, allocations: 1.541 MB / 3.691 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/8.332, allocations: 0.9047 MB / 3.692 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000949/8.333, allocations: 233.8 kB / 3.692 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/8.333, allocations: 37.47 kB / 3.692 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/8.333, allocations: 0 / 3.692 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.04865/8.382, allocations: 30.92 MB / 3.722 GB, free: 171.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches