Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009846/0.0009846, allocations: 180.6 kB / 487.4 MB, free: 5.07 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.464/1.464, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009057/0.0009055, allocations: 99.72 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.97e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2454, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8601/1.106, allocations: 151 MB / 1.353 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/1.106, allocations: 87.77 kB / 1.354 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008405/1.114, allocations: 3.037 MB / 1.356 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/1.114, allocations: 0 / 1.356 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.114, allocations: 3.938 kB / 1.356 GB, free: 33.94 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.0004668/1.115, allocations: 438.3 kB / 1.357 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.115, allocations: 7.781 kB / 1.357 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/1.115, allocations: 19.52 kB / 1.357 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/1.115, allocations: 176 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/1.115, allocations: 3.844 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/1.115, allocations: 7.688 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/1.115, allocations: 61.56 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.115, allocations: 78.09 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.115, allocations: 4 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/1.115, allocations: 3.906 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.115, allocations: 1.266 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/1.116, allocations: 368.7 kB / 1.358 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/1.116, allocations: 80.66 kB / 1.358 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/1.116, allocations: 38.88 kB / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/1.116, allocations: 0.5574 MB / 1.358 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/1.116, allocations: 33.8 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/1.116, allocations: 7.844 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002064/1.116, allocations: 81.08 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/1.117, allocations: 59.19 kB / 1.358 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/1.117, allocations: 105.5 kB / 1.359 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/1.117, allocations: 29.45 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/1.117, allocations: 106.6 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/1.117, allocations: 29.78 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/1.117, allocations: 0 / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.117, allocations: 317.5 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/1.117, allocations: 22.97 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/1.117, allocations: 18.69 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/1.117, allocations: 26.42 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.117, allocations: 0 / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001206/1.117, allocations: 90.78 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.117, allocations: 11.64 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.117, allocations: 0 / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.117, allocations: 0 / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/1.117, allocations: 33.91 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/1.117, allocations: 3.984 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/1.117, allocations: 18.61 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/1.117, allocations: 6.969 kB / 1.359 GB, free: 31.58 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 5.646e-05/1.117, allocations: 104.9 kB / 1.359 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/1.117, allocations: 11.78 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/1.118, allocations: 105.9 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.118, allocations: 0 / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.118, allocations: 7.172 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.118, allocations: 3.938 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/1.118, allocations: 179.7 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/1.118, allocations: 0 / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/1.118, allocations: 33.22 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.118, allocations: 0 / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/1.118, allocations: 3.844 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.118, allocations: 0 / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.118, allocations: 3.953 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/1.118, allocations: 182.3 kB / 1.36 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/1.118, allocations: 94.89 kB / 1.36 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/1.118, allocations: 3.938 kB / 1.36 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/1.118, allocations: 21.12 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/1.118, allocations: 9.531 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.118, allocations: 7.797 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.354e-05/1.119, allocations: 96.12 kB / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.119, allocations: 0 / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002328/1.119, allocations: 26.08 kB / 1.36 GB, free: 30.92 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.0001402/1.119, allocations: 114.4 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001109/1.119, allocations: 55.28 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/1.119, allocations: 0 / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/1.119, allocations: 37.23 kB / 1.36 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.119, allocations: 19.14 kB / 1.36 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/1.12, allocations: 134.7 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.12, allocations: 0.7068 MB / 1.361 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.434e-05/1.12, allocations: 7.625 kB / 1.361 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/1.12, allocations: 15.28 kB / 1.361 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/1.12, allocations: 0 / 1.361 GB, free: 30 MB / 0.8386 GB Notification: Performance of Templates: time 0.002712/1.123, allocations: 1.048 MB / 1.362 GB, free: 29.91 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches