Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 117.6 kB / 16.42 MB, free: 6.504 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.001475/0.001475, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 60.05 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9608/0.9624, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002952/0.9654, allocations: 1.734 MB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.9668, allocations: 0.7176 MB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.9669, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.657e-05/0.967, allocations: 11.86 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.9671, allocations: 23.73 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.9676, allocations: 95.77 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.9678, allocations: 111.6 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.968, allocations: 40.75 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.9681, allocations: 43.86 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.9682, allocations: 55.75 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.9682, allocations: 12 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.9685, allocations: 99.91 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.9686, allocations: 27.84 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.9686, allocations: 55.72 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.9689, allocations: 151.5 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9689, allocations: 0 / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9689, allocations: 0 / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9689, allocations: 0 / 1.17 GB, free: 0.6914 MB / 0.8887 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.00074/0.9697, allocations: 449 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.9697, allocations: 12.88 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.9698, allocations: 12.75 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.97, allocations: 188.1 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.97, allocations: 8.375 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.97, allocations: 8.375 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.9704, allocations: 124.4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9704, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.9704, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.9705, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.9708, allocations: 111.9 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.9715, allocations: 400.2 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.9718, allocations: 106.5 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.972, allocations: 64.81 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.9725, allocations: 0.5583 MB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.9726, allocations: 34.56 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.9726, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006699/0.9733, allocations: 193.3 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.9733, allocations: 55.41 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.9735, allocations: 163.3 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.9735, allocations: 25.7 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.9736, allocations: 104 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.9736, allocations: 35.53 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.9737, allocations: 25.66 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9738, allocations: 318.8 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.974, allocations: 47.95 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.9742, allocations: 51.89 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.9745, allocations: 96.8 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9745, allocations: 7.984 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004082/0.9749, allocations: 138 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.975, allocations: 6.344 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.975, allocations: 7.938 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.975, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.9752, allocations: 23.97 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.9752, allocations: 4 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.9753, allocations: 23.92 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.9753, allocations: 7.938 kB / 1.174 GB, free: 12.99 MB / 0.9044 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 8.74e-05/0.9754, allocations: 117.8 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.9755, allocations: 11.89 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/0.976, allocations: 162.9 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.976, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.976, allocations: 3.984 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.9761, allocations: 100.8 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.9761, allocations: 4 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.9763, allocations: 11.98 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.9764, allocations: 7.984 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004963/0.9769, allocations: 228.8 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004539/0.9773, allocations: 318.5 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001811/0.9775, allocations: 51.95 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.9776, allocations: 124.9 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of Backend: time 3.2e-07/0.9776, allocations: 4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006589/0.9783, allocations: 163.7 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008396/0.9792, allocations: 0.6684 MB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.005411/0.9846, allocations: 1.801 MB / 1.177 GB, free: 9.137 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches