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.001602/0.001603, allocations: 104 kB / 16.41 MB, free: 6.504 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.001494/0.001494, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.1 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.547/2.547, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 64.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8606, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003141/0.8638, allocations: 1.735 MB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.8651, allocations: 0.7214 MB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.8652, allocations: 0 / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.948e-05/0.8653, allocations: 11.86 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.8654, allocations: 15.81 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.8659, allocations: 99.69 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.8661, allocations: 119.6 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.8662, allocations: 40.77 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8663, allocations: 39.86 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.8664, allocations: 47.77 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.8664, allocations: 16 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.8667, allocations: 111.9 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.8667, allocations: 15.92 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.8668, allocations: 55.67 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.867, allocations: 159.5 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.867, allocations: 4 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8671, allocations: 0 / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.8671, allocations: 0 / 1.17 GB, free: 0.6055 MB / 0.8887 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.0006686/0.8677, allocations: 441 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8678, allocations: 16.58 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.8679, allocations: 16.69 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.868, allocations: 180.2 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.868, allocations: 4.375 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.8681, allocations: 8.375 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.8684, allocations: 124.5 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.8684, allocations: 8 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.8684, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8684, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.8688, allocations: 115.9 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.8694, allocations: 400.2 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.8697, allocations: 110.5 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.8699, allocations: 60.81 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.8704, allocations: 0.5622 MB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8705, allocations: 34.55 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.8705, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006242/0.8711, allocations: 185.4 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.8711, allocations: 59.41 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.8713, allocations: 159.4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.8713, allocations: 29.7 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.8714, allocations: 104 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.8714, allocations: 27.56 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.8715, allocations: 25.7 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8716, allocations: 318.8 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.8717, allocations: 43.97 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.8719, allocations: 55.89 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.8722, allocations: 101.2 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8722, allocations: 0 / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003686/0.8726, allocations: 141.5 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.8726, allocations: 11.94 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8726, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8727, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.8728, allocations: 23.97 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8728, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.873, allocations: 31.83 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.873, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 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.999e-05/0.8731, allocations: 113.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.8731, allocations: 19.83 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.8736, allocations: 158.9 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.8736, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8736, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8736, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.8738, allocations: 221.4 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8738, allocations: 0 / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.874, allocations: 23.97 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.874, allocations: 7.938 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.874, allocations: 0 / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.874, allocations: 3.984 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.874, allocations: 4 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.8744, allocations: 239.4 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.8745, allocations: 96.91 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.8745, allocations: 7.938 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.8747, allocations: 15.98 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.8747, allocations: 7.984 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.8747, allocations: 4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.8748, allocations: 128.9 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8748, allocations: 0 / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002623/0.8751, allocations: 24 kB / 1.175 GB, free: 11.75 MB / 0.9044 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.0001757/0.8753, allocations: 111.2 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.8757, allocations: 103.9 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8757, allocations: 0 / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.8759, allocations: 67.83 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.8763, allocations: 31.97 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.8768, allocations: 254.1 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.8771, allocations: 0.704 MB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.8771, allocations: 11.44 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.8771, allocations: 0 / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.003158/0.8803, allocations: 1.478 MB / 1.177 GB, free: 8.938 MB / 0.9044 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