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.001421/0.001421, allocations: 105.6 kB / 15.98 MB, free: 6.289 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.001543/0.001543, allocations: 197.9 kB / 16.91 MB, free: 6.148 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.524/1.524, allocations: 222.9 MB / 240.6 MB, free: 15.36 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.527/2.527, allocations: 437 MB / 0.7107 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.5 kB / 0.8694 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3297, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003654/0.3334, allocations: 1.788 MB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3348, allocations: 0.7215 MB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.607e-05/0.3349, allocations: 4 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.335, allocations: 7.938 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3351, allocations: 15.84 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3356, allocations: 83.8 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3358, allocations: 111.6 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3359, allocations: 49.3 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.336, allocations: 35.86 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.3361, allocations: 55.7 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3362, allocations: 8 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.3364, allocations: 107.9 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.3365, allocations: 23.92 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.3366, allocations: 47.73 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3368, allocations: 107.8 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3368, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3368, allocations: 4 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.3368, allocations: 3.938 kB / 1.021 GB, free: 7.773 MB / 0.795 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.0007101/0.3375, allocations: 435 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3376, allocations: 16.88 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.3376, allocations: 12.84 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3378, allocations: 196 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3378, allocations: 4.375 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3379, allocations: 8.375 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.3382, allocations: 117.9 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3382, allocations: 3.938 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3383, allocations: 8 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3383, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.3386, allocations: 115.9 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.3393, allocations: 404.1 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3396, allocations: 106.6 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3398, allocations: 60.81 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/0.3403, allocations: 0.5622 MB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3403, allocations: 34.5 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3404, allocations: 4 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0006503/0.341, allocations: 189.3 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3411, allocations: 55.41 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3412, allocations: 161 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3412, allocations: 25.7 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.3413, allocations: 108.1 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3414, allocations: 27.56 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.3414, allocations: 25.7 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3415, allocations: 314.8 kB / 1.023 GB, free: 4.488 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3417, allocations: 43.95 kB / 1.023 GB, free: 4.445 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3419, allocations: 52.33 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3422, allocations: 104.8 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3422, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003844/0.3426, allocations: 141.4 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3426, allocations: 11.94 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3426, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3426, allocations: 4 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3428, allocations: 23.97 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.3428, allocations: 0 / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3429, allocations: 23.83 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.343, allocations: 4 kB / 1.024 GB, free: 4.078 MB / 0.795 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.987e-05/0.343, allocations: 117.8 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3431, allocations: 11.84 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.3435, allocations: 162.9 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3436, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3436, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3436, allocations: 4 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3438, allocations: 205.6 kB / 1.024 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3438, allocations: 4 kB / 1.024 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.344, allocations: 27.91 kB / 1.024 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.344, allocations: 7.875 kB / 1.024 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.344, allocations: 4 kB / 1.024 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.344, allocations: 0 / 1.024 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.344, allocations: 0 / 1.024 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.3445, allocations: 247.3 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.3445, allocations: 96.98 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.3446, allocations: 3.938 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3447, allocations: 15.98 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.3448, allocations: 7.984 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3448, allocations: 0 / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001102/0.3449, allocations: 136.9 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3449, allocations: 0 / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000252/0.3452, allocations: 20 kB / 1.025 GB, free: 2.93 MB / 0.795 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.0001914/0.3453, allocations: 111.2 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.3458, allocations: 111.9 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3458, allocations: 0 / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.346, allocations: 63.89 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3464, allocations: 27.97 kB / 1.025 GB, free: 2.609 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.347, allocations: 280.6 kB / 1.025 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3474, allocations: 0.7041 MB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.3475, allocations: 19.38 kB / 1.026 GB, free: 1.559 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.3475, allocations: 3.938 kB / 1.026 GB, free: 1.555 MB / 0.795 GB Notification: Performance of Templates: time 0.003691/0.3512, allocations: 1.463 MB / 1.028 GB, free: 104 kB / 0.795 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