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.595/2.595, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001184/0.001184, allocations: 180 kB / 0.4902 GB, free: 2.254 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.493/1.493, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009079/0.0009079, allocations: 96.06 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 10.25 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.5475, allocations: 152.5 MB / 1.378 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.548, allocations: 91.94 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.558, allocations: 3.062 MB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.776e-06/0.5581, allocations: 4.188 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.5581, allocations: 0 / 1.381 GB, free: 13.84 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007194/0.5589, allocations: 455.4 kB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.5589, allocations: 12.52 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.559, allocations: 11.81 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.5592, allocations: 186.8 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.5592, allocations: 4 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.5592, allocations: 8 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.5597, allocations: 141.4 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5597, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5597, allocations: 4 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5597, allocations: 0 / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.5603, allocations: 131.9 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.561, allocations: 408.3 kB / 1.383 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.5615, allocations: 126.5 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/0.562, allocations: 0.5583 MB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5621, allocations: 34.56 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.5621, allocations: 3.938 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0006965/0.5628, allocations: 217.6 kB / 1.383 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.5628, allocations: 51.41 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.563, allocations: 150.2 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.563, allocations: 29.7 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.5631, allocations: 100.3 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.5632, allocations: 31.55 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.5632, allocations: 0 / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5633, allocations: 322.8 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.5635, allocations: 55.95 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.5637, allocations: 55.97 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.5638, allocations: 59.89 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5639, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000407/0.5643, allocations: 162 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5643, allocations: 8 kB / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5643, allocations: 4 kB / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5643, allocations: 0 / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5645, allocations: 39.91 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5645, allocations: 96 / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.5646, allocations: 23.86 kB / 1.385 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5647, allocations: 8 kB / 1.385 GB, free: 10.15 MB / 0.8855 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 () * Number of clocked 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 0.000119/0.5648, allocations: 113.8 kB / 1.385 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.5648, allocations: 19.75 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.5653, allocations: 182.9 kB / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.5653, allocations: 0 / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5654, allocations: 4 kB / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5654, allocations: 0 / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.5656, allocations: 201.6 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5656, allocations: 4 kB / 1.385 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.5658, allocations: 31.97 kB / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5658, allocations: 3.953 kB / 1.385 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5658, allocations: 4 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5658, allocations: 0 / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5658, allocations: 7.938 kB / 1.385 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.5663, allocations: 263.3 kB / 1.385 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.5664, allocations: 96.94 kB / 1.385 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.5664, allocations: 15.83 kB / 1.385 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5666, allocations: 15.98 kB / 1.385 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.5666, allocations: 7.984 kB / 1.385 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.5667, allocations: 0 / 1.385 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001034/0.5668, allocations: 124 kB / 1.386 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5668, allocations: 0 / 1.386 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000267/0.567, allocations: 28 kB / 1.386 GB, free: 8.949 MB / 0.8855 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 () * Number of clocked 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.0002403/0.5673, allocations: 124 kB / 1.386 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.5677, allocations: 128 kB / 1.386 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5677, allocations: 0 / 1.386 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.5679, allocations: 71.89 kB / 1.386 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.5683, allocations: 27.91 kB / 1.386 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.5688, allocations: 255.4 kB / 1.386 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5692, allocations: 0.7004 MB / 1.387 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.5693, allocations: 12.55 kB / 1.387 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.5693, allocations: 19.44 kB / 1.387 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.5693, allocations: 0 / 1.387 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of Templates: time 0.004532/0.5739, allocations: 1.362 MB / 1.388 GB, free: 6.23 MB / 0.8855 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