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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00164/0.00164, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001858/0.001857, allocations: 193.9 kB / 17.3 MB, free: 5.48 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 68.23 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2701, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002638/0.2727, allocations: 1.738 MB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2738, allocations: 0.7253 MB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.2738, allocations: 4 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.2739, allocations: 11.86 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.274, allocations: 19.8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2743, allocations: 99.7 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2744, allocations: 111.6 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2746, allocations: 41.05 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.2746, allocations: 39.86 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.2747, allocations: 55.69 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2747, allocations: 12 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.2749, allocations: 107.9 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.275, allocations: 27.91 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.275, allocations: 47.73 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2752, allocations: 155.5 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2753, allocations: 4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2753, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2753, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 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.0005678/0.2758, allocations: 439 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2759, allocations: 8.031 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.2759, allocations: 16.75 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.276, allocations: 180.2 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2761, allocations: 12.38 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2761, allocations: 12.38 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.2764, allocations: 121.9 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2764, allocations: 0 / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2764, allocations: 4 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2764, allocations: 4 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2768, allocations: 115.9 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.2773, allocations: 396.1 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.2775, allocations: 110.5 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.2777, allocations: 68.81 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.2782, allocations: 0.5544 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2782, allocations: 34.56 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 5.811e-06/0.2782, allocations: 7.922 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005686/0.2788, allocations: 197.3 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.2788, allocations: 51.41 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2789, allocations: 164.8 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.279, allocations: 29.7 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.279, allocations: 104.1 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.279, allocations: 31.56 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.2791, allocations: 17.72 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.2792, allocations: 326.8 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2794, allocations: 43.95 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2795, allocations: 47.89 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.2798, allocations: 100.8 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2798, allocations: 0 / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003398/0.2802, allocations: 145.9 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2802, allocations: 7.938 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2802, allocations: 4 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2802, allocations: 0 / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2804, allocations: 27.97 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2804, allocations: 96 / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.2805, allocations: 23.77 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2805, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.8106 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.488e-05/0.2806, allocations: 121.8 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.2806, allocations: 15.84 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.281, allocations: 158.9 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.281, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.281, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.281, allocations: 4 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2812, allocations: 205.5 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2813, allocations: 4 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.2814, allocations: 27.97 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2814, allocations: 3.938 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2814, allocations: 4 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2814, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2814, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2818, allocations: 243.2 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.2819, allocations: 101 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.2819, allocations: 7.938 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.282, allocations: 11.98 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2821, allocations: 7.984 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2821, allocations: 4 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.2822, allocations: 120 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2822, allocations: 4 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002408/0.2824, allocations: 24 kB / 1.034 GB, free: 9.996 MB / 0.8106 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.0001495/0.2826, allocations: 107.2 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.283, allocations: 108 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.283, allocations: 0 / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2831, allocations: 63.89 kB / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2835, allocations: 31.95 kB / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.2839, allocations: 232 kB / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2841, allocations: 0.7079 MB / 1.035 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.254e-05/0.2842, allocations: 4.562 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.2842, allocations: 15.44 kB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.2842, allocations: 4 kB / 1.035 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of Templates: time 0.003935/0.2882, allocations: 1.611 MB / 1.037 GB, free: 7.078 MB / 0.8106 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 -s gbode -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