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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 108.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.001661, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 59.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002989/1.068, allocations: 1.751 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001172/1.069, allocations: 0.7213 MB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/1.069, allocations: 1.469 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/1.069, allocations: 10.03 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/1.069, allocations: 25.05 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/1.07, allocations: 97.44 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/1.07, allocations: 113.4 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/1.07, allocations: 49.52 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/1.07, allocations: 38.48 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/1.07, allocations: 52.59 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/1.07, allocations: 9.188 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/1.071, allocations: 105.5 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/1.071, allocations: 23.52 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/1.071, allocations: 49.31 kB / 1.092 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/1.071, allocations: 160.8 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.071, allocations: 5.562 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/1.071, allocations: 0 / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.071, allocations: 0 / 1.092 GB, free: 3.461 MB / 0.8575 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.0006107/1.072, allocations: 438.4 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.072, allocations: 9.875 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/1.072, allocations: 14.56 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/1.072, allocations: 187.9 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.072, allocations: 8.094 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/1.072, allocations: 14.06 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/1.072, allocations: 120.4 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.072, allocations: 3.938 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.072, allocations: 4.844 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.072, allocations: 3.125 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/1.073, allocations: 110.8 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/1.073, allocations: 397.2 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/1.074, allocations: 116.2 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/1.074, allocations: 64.73 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/1.074, allocations: 0.5624 MB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/1.074, allocations: 32.52 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/1.074, allocations: 0 / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006969/1.075, allocations: 187.1 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/1.075, allocations: 52.12 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.075, allocations: 165.7 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.075, allocations: 26.45 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/1.075, allocations: 107 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.075, allocations: 37.41 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/1.075, allocations: 25.16 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/1.075, allocations: 322.2 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.076, allocations: 41.72 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/1.076, allocations: 44.02 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/1.076, allocations: 102.9 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.076, allocations: 0.75 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004241/1.077, allocations: 146.3 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.077, allocations: 5.938 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.077, allocations: 4.5 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.077, allocations: 0.6875 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/1.077, allocations: 24.66 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.077, allocations: 4.734 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.077, allocations: 25.38 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.077, allocations: 1.938 kB / 1.095 GB, free: 0.7148 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/1.077, allocations: 114.4 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/1.077, allocations: 14.3 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/1.078, allocations: 159.7 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.078, allocations: 1.562 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.078, allocations: 4.844 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.078, allocations: 4.516 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/1.078, allocations: 208.3 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.078, allocations: 5.359 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/1.078, allocations: 28.16 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.078, allocations: 0.8438 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.078, allocations: 0.75 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.078, allocations: 1.484 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.078, allocations: 0 / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/1.079, allocations: 243.8 kB / 1.096 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/1.079, allocations: 101.4 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/1.079, allocations: 1.422 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.079, allocations: 15.42 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.079, allocations: 6.438 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.079, allocations: 2.344 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001562/1.079, allocations: 121.2 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 8.219 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002698/1.079, allocations: 24.91 kB / 1.096 GB, free: 15.9 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/1.08, allocations: 106.8 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000455/1.08, allocations: 114.8 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.08, allocations: 4 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/1.08, allocations: 56.78 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/1.081, allocations: 34.98 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/1.081, allocations: 249.7 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.082, allocations: 0.6997 MB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/1.082, allocations: 13.84 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/1.082, allocations: 0.6875 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004277/1.086, allocations: 1.468 MB / 1.099 GB, free: 14.73 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches