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.009138/0.009138, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001956/0.001956, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003463/0.3367, allocations: 1.716 MB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3382, allocations: 0.7251 MB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3383, allocations: 8 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.3384, allocations: 11.81 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3386, allocations: 23.78 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.3391, allocations: 87.72 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3393, allocations: 119.6 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3394, allocations: 44.95 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3396, allocations: 43.84 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.3397, allocations: 55.77 kB / 1.211 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3397, allocations: 8 kB / 1.211 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.34, allocations: 111.8 kB / 1.211 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.3401, allocations: 23.92 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.3401, allocations: 51.73 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.3405, allocations: 155.5 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3405, allocations: 0 / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3405, allocations: 0 / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3405, allocations: 0 / 1.211 GB, free: 6.449 MB / 0.9669 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.001049/0.3415, allocations: 443 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.003e-05/0.3416, allocations: 8.625 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.3417, allocations: 20.75 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.342, allocations: 177.9 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.342, allocations: 8.375 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3421, allocations: 12.38 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.3425, allocations: 121.9 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3426, allocations: 0 / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3426, allocations: 3.938 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3426, allocations: 4 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.3431, allocations: 118.6 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/0.344, allocations: 396.2 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.3444, allocations: 110.6 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.3446, allocations: 64.81 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008159/0.3454, allocations: 0.5583 MB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.3455, allocations: 38.5 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3455, allocations: 4 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0008379/0.3464, allocations: 189.3 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.3464, allocations: 51.41 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3467, allocations: 163.7 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.3467, allocations: 33.64 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3468, allocations: 100.1 kB / 1.213 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.3469, allocations: 27.56 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.347, allocations: 29.64 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.3472, allocations: 322.8 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3474, allocations: 39.97 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3476, allocations: 47.95 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.348, allocations: 104.7 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.348, allocations: 0 / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004651/0.3485, allocations: 137.5 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.3485, allocations: 15.86 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3485, allocations: 0 / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3486, allocations: 0 / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3488, allocations: 23.98 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3488, allocations: 0 / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3489, allocations: 23.83 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3489, allocations: 8 kB / 1.214 GB, free: 2.746 MB / 0.9669 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 0.0001622/0.3491, allocations: 121.8 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3492, allocations: 11.84 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.3497, allocations: 155.1 kB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3497, allocations: 4 kB / 1.214 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3497, allocations: 96 / 1.214 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3498, allocations: 7.938 kB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.3501, allocations: 205.6 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3501, allocations: 0 / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3503, allocations: 31.91 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.3503, allocations: 3.938 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3503, allocations: 4 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3503, allocations: 0 / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3503, allocations: 3.984 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.3509, allocations: 243.3 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.351, allocations: 96.91 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.351, allocations: 3.938 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3512, allocations: 11.98 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.3513, allocations: 11.98 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3513, allocations: 4 kB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001199/0.3515, allocations: 128.8 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3515, allocations: 0 / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003321/0.3518, allocations: 28 kB / 1.215 GB, free: 1.59 MB / 0.9669 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.000304/0.3521, allocations: 107.2 kB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.3526, allocations: 111.9 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3526, allocations: 0 / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.3528, allocations: 59.89 kB / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3534, allocations: 34.25 kB / 1.215 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.354, allocations: 228 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3544, allocations: 0.7002 MB / 1.216 GB, free: 308 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.3545, allocations: 12.55 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3545, allocations: 15.44 kB / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of SimCode: time 7.81e-07/0.3545, allocations: 0 / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of Templates: time 0.005112/0.3597, allocations: 1.653 MB / 1.218 GB, free: 14.64 MB / 0.9825 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/jenkins/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