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.001349/0.001349, allocations: 101.9 kB / 16.27 MB, free: 5.898 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.001259/0.001259, allocations: 189 kB / 17.2 MB, free: 5.535 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.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.647/2.647, allocations: 437.1 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002017, allocations: 69.27 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00369/0.3417, allocations: 1.728 MB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3432, allocations: 0.7345 MB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.3433, allocations: 0 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.3434, allocations: 11.86 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3435, allocations: 19.8 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.344, allocations: 95.7 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3441, allocations: 111.6 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3443, allocations: 45.31 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.3444, allocations: 39.86 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.3445, allocations: 55.7 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3445, allocations: 11.98 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.3448, allocations: 107.9 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.3448, allocations: 23.92 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3449, allocations: 51.72 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3451, allocations: 151.6 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3451, allocations: 0 / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3452, allocations: 0 / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3452, allocations: 0 / 1.021 GB, free: 7.43 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.0006373/0.3458, allocations: 439 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3459, allocations: 16.58 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.3459, allocations: 12.84 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.346, allocations: 188 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3461, allocations: 4.375 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3461, allocations: 12.31 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.3464, allocations: 124.6 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3464, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3465, allocations: 4 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3465, allocations: 7.938 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.3468, allocations: 115.8 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.3474, allocations: 400.1 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.3478, allocations: 106.6 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.348, allocations: 64.81 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/0.3485, allocations: 0.5544 MB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3485, allocations: 38.56 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3486, allocations: 0 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0006796/0.3492, allocations: 189.3 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3493, allocations: 51.41 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3495, allocations: 172.2 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3495, allocations: 29.7 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.3496, allocations: 104.1 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3496, allocations: 27.55 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.3497, allocations: 25.7 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3498, allocations: 318.8 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.35, allocations: 47.95 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3502, allocations: 47.95 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3505, allocations: 97.34 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3505, allocations: 0 / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003994/0.3509, allocations: 145.3 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.351, allocations: 11.94 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.351, allocations: 0 / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.351, allocations: 0 / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3512, allocations: 31.91 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3512, allocations: 4 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3513, allocations: 19.83 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.3513, allocations: 0 / 1.024 GB, free: 3.73 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 9.338e-05/0.3514, allocations: 117.8 kB / 1.024 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3515, allocations: 15.84 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.3519, allocations: 162.9 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3519, allocations: 4 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.352, allocations: 0 / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.352, allocations: 0 / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3522, allocations: 209.6 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3522, allocations: 0 / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3524, allocations: 27.97 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3524, allocations: 7.938 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3524, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3524, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3524, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.3529, allocations: 243.2 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.353, allocations: 93 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.353, allocations: 7.938 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3532, allocations: 12.27 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3532, allocations: 15.92 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3532, allocations: 4 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3533, allocations: 127.9 kB / 1.025 GB, free: 2.605 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3534, allocations: 0 / 1.025 GB, free: 2.605 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002498/0.3536, allocations: 24 kB / 1.025 GB, free: 2.582 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.0001882/0.3538, allocations: 111.2 kB / 1.025 GB, free: 2.461 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.3542, allocations: 111.9 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3542, allocations: 0 / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3544, allocations: 55.89 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3548, allocations: 31.95 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.3554, allocations: 261.7 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3557, allocations: 0.7041 MB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.3558, allocations: 15.44 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.3558, allocations: 0 / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of Templates: time 0.003664/0.3595, allocations: 1.457 MB / 1.028 GB, free: 15.79 MB / 0.8106 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