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.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0018/0.0018, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.598/1.598, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.86 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.406, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003303/0.4094, allocations: 1.781 MB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4106, allocations: 0.7363 MB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.4107, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.4107, allocations: 7.922 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.4108, allocations: 27.78 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.4112, allocations: 67.86 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.4113, allocations: 107.6 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.4115, allocations: 41.27 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.4116, allocations: 47.72 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.4116, allocations: 51.77 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.4117, allocations: 4 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.4119, allocations: 99.89 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.4119, allocations: 19.92 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.412, allocations: 47.72 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.4123, allocations: 147.6 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4123, allocations: 3.938 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4123, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4123, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 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.0007458/0.413, allocations: 440.3 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4131, allocations: 12.03 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.4132, allocations: 8.844 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.4133, allocations: 184.1 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.4133, allocations: 8.375 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.4134, allocations: 12.38 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.4137, allocations: 121.9 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4137, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4137, allocations: 4 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4137, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.4141, allocations: 122.9 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.4147, allocations: 400.1 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.415, allocations: 102.5 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.4153, allocations: 68.86 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.4158, allocations: 0.5583 MB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4158, allocations: 38.56 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.4158, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006557/0.4165, allocations: 189.4 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4165, allocations: 55.41 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4167, allocations: 168 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4167, allocations: 25.7 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.4168, allocations: 100.5 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.4168, allocations: 39.53 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.4169, allocations: 25.72 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.417, allocations: 318.8 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4172, allocations: 51.89 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4173, allocations: 39.97 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.4176, allocations: 100.8 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4176, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003681/0.418, allocations: 149.3 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.418, allocations: 11.94 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4181, allocations: 0 / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4181, allocations: 4 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4182, allocations: 23.92 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4183, allocations: 0 / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.4184, allocations: 27.81 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4184, allocations: 4 kB / 1.058 GB, free: 1.938 MB / 0.8106 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.398e-05/0.4185, allocations: 115.4 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.4185, allocations: 15.84 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.419, allocations: 154.9 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.419, allocations: 384 / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.419, allocations: 3.984 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.419, allocations: 0 / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.4192, allocations: 209.6 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4192, allocations: 7.938 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.4193, allocations: 19.98 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4194, allocations: 3.938 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4194, allocations: 8 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4194, allocations: 0 / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4194, allocations: 0 / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.4198, allocations: 243.2 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.4198, allocations: 93 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.4199, allocations: 7.938 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.42, allocations: 11.97 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4201, allocations: 11.94 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4201, allocations: 4 kB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.249e-05/0.4202, allocations: 123.9 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4202, allocations: 4 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000249/0.4204, allocations: 24 kB / 1.059 GB, free: 0.8008 MB / 0.8106 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.0001735/0.4206, allocations: 107.2 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.421, allocations: 107.8 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.421, allocations: 0 / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.4212, allocations: 59.95 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.4216, allocations: 28.39 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.4221, allocations: 265.5 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4224, allocations: 0.6965 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.347e-05/0.4224, allocations: 16.55 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4225, allocations: 11.44 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.4225, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of Templates: time 0.003917/0.4264, allocations: 1.436 MB / 1.062 GB, free: 14.05 MB / 0.8262 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