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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001027/0.001027, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 12 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7421, allocations: 153.8 MB / 1.024 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002131/0.7443, allocations: 1.434 MB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.7457, allocations: 0.71 MB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.7458, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.7458, allocations: 3.938 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.7459, allocations: 23.78 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.7463, allocations: 71.86 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.7465, allocations: 103.6 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.7466, allocations: 39.08 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.7467, allocations: 31.8 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.7468, allocations: 47.77 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.7469, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.7471, allocations: 103.8 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.7472, allocations: 15.92 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.7472, allocations: 73.42 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.7474, allocations: 107.8 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7474, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7474, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.7474, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 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.0006589/0.7481, allocations: 439.1 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.7482, allocations: 15.98 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.7482, allocations: 12.75 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7484, allocations: 180.2 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.7484, allocations: 8.375 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.7484, allocations: 8.375 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.7488, allocations: 133.9 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7488, allocations: 3.984 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7488, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.7488, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.7493, allocations: 135.8 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.7499, allocations: 400.2 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.7502, allocations: 118.6 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.7504, allocations: 88.69 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.7509, allocations: 0.5583 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.751, allocations: 38.56 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.751, allocations: 0 / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007005/0.7517, allocations: 217.4 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.7517, allocations: 55.41 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.7519, allocations: 164 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.7519, allocations: 29.7 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.752, allocations: 104 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.752, allocations: 27.56 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.752, allocations: 21.7 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7522, allocations: 322.8 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.7523, allocations: 51.97 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.7525, allocations: 55.95 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.7529, allocations: 120.8 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7529, allocations: 0 / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004314/0.7534, allocations: 162 kB / 1.03 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7534, allocations: 8.031 kB / 1.03 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7534, allocations: 7.938 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7534, allocations: 7.984 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.7536, allocations: 27.92 kB / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.7536, allocations: 0 / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.7537, allocations: 31.83 kB / 1.03 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.7538, allocations: 8 kB / 1.03 GB, free: 9.148 MB / 0.7794 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.06e-05/0.7539, allocations: 114.4 kB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.7539, allocations: 19.83 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.7544, allocations: 178.9 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.7544, allocations: 0 / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7544, allocations: 0 / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7544, allocations: 0 / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.7547, allocations: 217.4 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7547, allocations: 4 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.7548, allocations: 31.97 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.7548, allocations: 3.938 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.7549, allocations: 0 / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7549, allocations: 0 / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7549, allocations: 3.938 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.7554, allocations: 263.3 kB / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.7554, allocations: 97 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.7555, allocations: 7.938 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.7556, allocations: 19.98 kB / 1.031 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.7557, allocations: 3.984 kB / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.7557, allocations: 7.938 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.7558, allocations: 121.6 kB / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7558, allocations: 0 / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002729/0.7561, allocations: 31.91 kB / 1.031 GB, free: 7.949 MB / 0.7794 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.0001731/0.7562, allocations: 111.4 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.7567, allocations: 131.8 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7567, allocations: 4 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.7569, allocations: 67.95 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.7574, allocations: 23.97 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.7579, allocations: 293.1 kB / 1.032 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7581, allocations: 0.7004 MB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.7582, allocations: 15.44 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7582, allocations: 4 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of Templates: time 0.003416/0.7616, allocations: 1.443 MB / 1.034 GB, free: 5.109 MB / 0.7794 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