Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.506/2.506, allocations: 390.5 MB / 398 MB, free: 10.98 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.001124/0.001124, allocations: 184.9 kB / 491.2 MB, free: 1.621 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.634/1.634, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001001/0.001001, allocations: 99.86 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.744e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3298, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9774/1.307, allocations: 151.8 MB / 1.361 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/1.308, allocations: 90.3 kB / 1.361 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008736/1.316, allocations: 3.038 MB / 1.364 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.316, allocations: 0 / 1.364 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.316, allocations: 0 / 1.364 GB, free: 33.09 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005292/1.317, allocations: 441.9 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.317, allocations: 7.781 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/1.317, allocations: 15 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/1.317, allocations: 175.7 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.317, allocations: 4.625 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/1.317, allocations: 9.344 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001477/1.317, allocations: 53.55 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/1.317, allocations: 87.81 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.318, allocations: 3.938 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.318, allocations: 0 / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/1.318, allocations: 0 / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/1.318, allocations: 367 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/1.318, allocations: 81.59 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/1.318, allocations: 35.27 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/1.319, allocations: 0.5545 MB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/1.319, allocations: 38.44 kB / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/1.319, allocations: 0 / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000272/1.319, allocations: 88.67 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/1.319, allocations: 51.41 kB / 1.366 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/1.319, allocations: 112.2 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.319, allocations: 25.7 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/1.319, allocations: 108.8 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/1.319, allocations: 29 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/1.319, allocations: 0 / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.319, allocations: 325.6 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/1.319, allocations: 26.31 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/1.319, allocations: 14.38 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.139e-05/1.32, allocations: 25.31 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.32, allocations: 3.875 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000135/1.32, allocations: 90.8 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.32, allocations: 5.312 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.32, allocations: 0 / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.32, allocations: 3.938 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/1.32, allocations: 33.31 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.32, allocations: 1.312 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/1.32, allocations: 23.27 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/1.32, allocations: 4.844 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.769e-05/1.32, allocations: 105 kB / 1.366 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/1.32, allocations: 16.88 kB / 1.366 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/1.32, allocations: 100.5 kB / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.32, allocations: 0 / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.32, allocations: 0 / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.32, allocations: 1.359 kB / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/1.321, allocations: 184 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.321, allocations: 4 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/1.321, allocations: 40.23 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/1.321, allocations: 0 / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/1.321, allocations: 0 / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.321, allocations: 5.453 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.321, allocations: 0 / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/1.321, allocations: 190.6 kB / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/1.321, allocations: 87.67 kB / 1.367 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/1.321, allocations: 4 kB / 1.367 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/1.321, allocations: 19.83 kB / 1.367 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/1.321, allocations: 12.2 kB / 1.367 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.321, allocations: 0 / 1.367 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.355e-05/1.321, allocations: 97.5 kB / 1.367 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.321, allocations: 0 / 1.367 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002436/1.321, allocations: 28.84 kB / 1.367 GB, free: 30.08 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001673/1.322, allocations: 115.8 kB / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000127/1.322, allocations: 56.94 kB / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.322, allocations: 0 / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/1.322, allocations: 35.05 kB / 1.367 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/1.322, allocations: 12.44 kB / 1.367 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/1.322, allocations: 135.2 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.323, allocations: 0.7034 MB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.956e-05/1.323, allocations: 13.94 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/1.323, allocations: 11.28 kB / 1.368 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.323, allocations: 0 / 1.368 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.003191/1.326, allocations: 1.049 MB / 1.369 GB, free: 29.09 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches