Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001751/0.001751, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.001944/0.001944, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.391/1.391, 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 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9744/0.976, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003401/0.9795, allocations: 1.728 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.981, allocations: 0.7168 MB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.9811, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.9812, allocations: 15.81 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.467e-05/0.9813, allocations: 23.78 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.9817, allocations: 91.72 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.9819, allocations: 115.6 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.982, allocations: 40.77 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.9821, allocations: 47.78 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.488e-05/0.9822, allocations: 55.7 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.9823, allocations: 12 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.9825, allocations: 107.9 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.9826, allocations: 19.92 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.9826, allocations: 55.72 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.9829, allocations: 155.5 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9829, allocations: 3.938 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9829, allocations: 0 / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9829, allocations: 0 / 1.212 GB, free: 10.45 MB / 0.9356 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.0007357/0.9837, allocations: 445 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.9837, allocations: 8.031 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.9838, allocations: 12.75 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.984, allocations: 180.2 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.984, allocations: 8.375 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.984, allocations: 8.375 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.9844, allocations: 125.9 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9844, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.9844, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.9844, allocations: 3.984 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.9849, allocations: 119.8 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.9855, allocations: 396.3 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.9859, allocations: 106.5 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.9861, allocations: 68.8 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/0.9866, allocations: 0.5622 MB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.9866, allocations: 34.56 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.9866, allocations: 0 / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006579/0.9873, allocations: 189.4 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.9873, allocations: 55.41 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.9875, allocations: 160.1 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.9875, allocations: 25.7 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.9876, allocations: 112 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.9877, allocations: 35.53 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.9877, allocations: 21.72 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.9879, allocations: 318.8 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.9881, allocations: 43.95 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.9883, allocations: 43.97 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.9886, allocations: 104.7 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9886, allocations: 0 / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004088/0.989, allocations: 146 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9891, allocations: 9.875 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9891, allocations: 7.938 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9891, allocations: 0 / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.9893, allocations: 19.98 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9893, allocations: 0 / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.9894, allocations: 31.81 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.9894, allocations: 0 / 1.215 GB, free: 6.742 MB / 0.9356 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 9.274e-05/0.9895, allocations: 115.4 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.9896, allocations: 15.91 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.99, allocations: 158.9 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.99, allocations: 0 / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.99, allocations: 0 / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.9901, allocations: 100.8 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.9902, allocations: 8 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.9903, allocations: 11.98 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.9903, allocations: 15.92 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004751/0.9908, allocations: 220.9 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004367/0.9913, allocations: 318.5 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001766/0.9915, allocations: 56.27 kB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.458e-05/0.9915, allocations: 128.2 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of Backend: time 7.42e-07/0.9916, allocations: 11.88 kB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006079/0.9922, allocations: 154.3 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007911/0.993, allocations: 0.6644 MB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of Templates: time 0.0049/0.9979, allocations: 1.808 MB / 1.218 GB, free: 2.883 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches