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.36/1.36, 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.001172/0.001172, allocations: 179 kB / 326.5 MB, free: 2.25 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.82/1.82, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008493/0.0008493, allocations: 93.88 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.000353, allocations: 8.969 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.286/6.518, allocations: 2.201 GB / 3.101 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/6.518, allocations: 93.64 kB / 3.101 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.771/8.289, allocations: 0.5806 GB / 3.681 GB, free: 72.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/8.289, allocations: 0 / 3.681 GB, free: 72.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.26e-05/8.29, allocations: 20 kB / 3.681 GB, free: 72.11 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.003392/8.293, allocations: 1.107 MB / 3.682 GB, free: 70.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/8.293, allocations: 8.031 kB / 3.682 GB, free: 70.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/8.294, allocations: 219 kB / 3.683 GB, free: 70.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/8.296, allocations: 0.8849 MB / 3.684 GB, free: 69.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/8.297, allocations: 33 kB / 3.684 GB, free: 69.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/8.297, allocations: 45.53 kB / 3.684 GB, free: 69.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/8.298, allocations: 0.4997 MB / 3.684 GB, free: 69.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/8.298, allocations: 3.938 kB / 3.684 GB, free: 69.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/8.298, allocations: 19.94 kB / 3.684 GB, free: 69.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/8.298, allocations: 17 kB / 3.684 GB, free: 69.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/8.298, allocations: 455.6 kB / 3.685 GB, free: 68.73 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.002469/8.301, allocations: 2.108 MB / 3.687 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/8.301, allocations: 262.6 kB / 3.687 GB, free: 66.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/8.302, allocations: 0.8221 MB / 3.688 GB, free: 65.19 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/8.303, allocations: 188.7 kB / 3.688 GB, free: 64.99 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/8.303, allocations: 4 kB / 3.688 GB, free: 64.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.0008534/8.303, allocations: 426.2 kB / 3.688 GB, free: 64.56 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/8.303, allocations: 110.8 kB / 3.688 GB, free: 64.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/8.304, allocations: 0.5502 MB / 3.689 GB, free: 63.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/8.304, allocations: 33.7 kB / 3.689 GB, free: 63.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/8.304, allocations: 331.6 kB / 3.689 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/8.304, allocations: 86.91 kB / 3.689 GB, free: 63.42 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/8.304, allocations: 4 kB / 3.689 GB, free: 63.42 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/8.304, allocations: 370.8 kB / 3.69 GB, free: 63.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/8.305, allocations: 108.7 kB / 3.69 GB, free: 62.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/8.305, allocations: 283.6 kB / 3.69 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/8.305, allocations: 161.8 kB / 3.69 GB, free: 62.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/8.305, allocations: 0 / 3.69 GB, free: 62.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005361/8.306, allocations: 440.2 kB / 3.691 GB, free: 61.99 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003216/8.306, allocations: 1.658 MB / 3.692 GB, free: 60.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/8.306, allocations: 4 kB / 3.692 GB, free: 60.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/8.306, allocations: 8 kB / 3.692 GB, free: 60.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/8.306, allocations: 79.89 kB / 3.692 GB, free: 60.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/8.306, allocations: 11.94 kB / 3.692 GB, free: 60.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/8.307, allocations: 59.52 kB / 3.692 GB, free: 60.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/8.307, allocations: 20 kB / 3.692 GB, free: 60.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/8.307, allocations: 4 kB / 3.692 GB, free: 60.02 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004462/8.307, allocations: 339.8 kB / 3.693 GB, free: 59.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/8.307, allocations: 16.08 kB / 3.693 GB, free: 59.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.421e-06/8.307, allocations: 7.953 kB / 3.693 GB, free: 59.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/8.308, allocations: 75.91 kB / 3.693 GB, free: 59.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/8.308, allocations: 11.94 kB / 3.693 GB, free: 59.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/8.308, allocations: 55.52 kB / 3.693 GB, free: 59.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/8.308, allocations: 16 kB / 3.693 GB, free: 59.51 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 (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.0002789/8.308, allocations: 289.4 kB / 3.693 GB, free: 59.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/8.308, allocations: 63.34 kB / 3.693 GB, free: 59.15 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/8.309, allocations: 314.8 kB / 3.694 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/8.309, allocations: 4 kB / 3.694 GB, free: 58.83 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/8.309, allocations: 4 kB / 3.694 GB, free: 58.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/8.309, allocations: 0 / 3.694 GB, free: 58.83 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/8.31, allocations: 1.156 MB / 3.695 GB, free: 57.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/8.31, allocations: 4 kB / 3.695 GB, free: 57.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/8.31, allocations: 39.92 kB / 3.695 GB, free: 57.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/8.31, allocations: 4 kB / 3.695 GB, free: 57.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/8.31, allocations: 8 kB / 3.695 GB, free: 57.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/8.31, allocations: 11.98 kB / 3.695 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/8.31, allocations: 3.938 kB / 3.695 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/8.311, allocations: 0.5668 MB / 3.695 GB, free: 56.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/8.311, allocations: 172.2 kB / 3.696 GB, free: 56.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/8.311, allocations: 19.94 kB / 3.696 GB, free: 56.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/8.311, allocations: 12 kB / 3.696 GB, free: 56.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/8.312, allocations: 27.84 kB / 3.696 GB, free: 56.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/8.312, allocations: 12 kB / 3.696 GB, free: 56.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004446/8.312, allocations: 443 kB / 3.696 GB, free: 56.17 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/8.312, allocations: 4 kB / 3.696 GB, free: 56.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001839/8.314, allocations: 419.4 kB / 3.696 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: 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.003385/8.317, allocations: 1.69 MB / 3.698 GB, free: 54.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009326/8.318, allocations: 469.1 kB / 3.698 GB, free: 53.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/8.318, allocations: 4 kB / 3.699 GB, free: 53.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/8.318, allocations: 134.5 kB / 3.699 GB, free: 53.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/8.32, allocations: 267.2 kB / 3.699 GB, free: 53.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/8.324, allocations: 1.982 MB / 3.701 GB, free: 51.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/8.324, allocations: 0.9097 MB / 3.702 GB, free: 50.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006405/8.325, allocations: 168.9 kB / 3.702 GB, free: 50.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/8.325, allocations: 43.44 kB / 3.702 GB, free: 50.12 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/8.325, allocations: 3.938 kB / 3.702 GB, free: 50.12 MB / 0.8855 GB Notification: Performance of Templates: time 0.03229/8.357, allocations: 26.04 MB / 3.727 GB, free: 24.15 MB / 0.8855 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