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.001699/0.001699, allocations: 108 kB / 15.61 MB, free: 152 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.001851/0.001851, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.66/1.66, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.817/2.817, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 75.88 kB / 0.8693 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7251, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003073/0.7282, allocations: 1.723 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.7294, allocations: 0.7175 MB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.7295, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.7295, allocations: 15.8 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.7296, allocations: 23.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.73, allocations: 99.69 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.7301, allocations: 107.5 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.7303, allocations: 39.08 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.7303, allocations: 39.86 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.7304, allocations: 51.77 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.7304, allocations: 8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.7307, allocations: 115.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.7307, allocations: 23.92 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.7308, allocations: 47.73 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.731, allocations: 155.5 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.731, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.731, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.7311, allocations: 0 / 1.02 GB, free: 15.3 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.0006623/0.7317, allocations: 447 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7318, allocations: 11.98 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.7318, allocations: 16.83 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.732, allocations: 177.9 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.732, allocations: 8.375 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.732, allocations: 12.38 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.7324, allocations: 117.9 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.7324, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.7324, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.7324, allocations: 7.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.7328, allocations: 111.9 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.7334, allocations: 400.2 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.7338, allocations: 114.5 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.734, allocations: 68.81 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.7345, allocations: 0.5544 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.7345, allocations: 38.55 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.7345, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006686/0.7352, allocations: 197.2 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.7353, allocations: 51.41 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.7354, allocations: 166.2 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.7355, allocations: 25.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.7355, allocations: 100.1 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.7356, allocations: 27.56 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.7356, allocations: 33.7 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7358, allocations: 322.8 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.736, allocations: 39.97 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.7362, allocations: 47.89 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.7365, allocations: 104.8 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7365, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004091/0.7369, allocations: 145.4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.737, allocations: 7.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.737, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.737, allocations: 4.641 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.7372, allocations: 27.98 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.7372, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7373, allocations: 15.92 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7373, allocations: 4 kB / 1.024 GB, free: 11.61 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 0.0001052/0.7374, allocations: 121.8 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.7375, allocations: 19.73 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.738, allocations: 162.9 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.738, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.738, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.738, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.7383, allocations: 213.5 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7383, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.7384, allocations: 31.97 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.7384, allocations: 3.938 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.7384, allocations: 4 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7384, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7385, allocations: 4 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.7389, allocations: 243.2 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.739, allocations: 93 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.739, allocations: 3.938 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.7392, allocations: 11.98 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.7392, allocations: 11.98 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.7392, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.606e-05/0.7393, allocations: 121.6 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7393, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002625/0.7396, allocations: 32 kB / 1.025 GB, free: 10.45 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.0001741/0.7398, allocations: 115.2 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.7402, allocations: 103.9 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7402, allocations: 384 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.7404, allocations: 63.89 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.7409, allocations: 30.81 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.7413, allocations: 235.9 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.7417, allocations: 0.7002 MB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.7418, allocations: 12.56 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.7418, allocations: 15.42 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7418, allocations: 0 / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of Templates: time 0.004678/0.7465, allocations: 1.612 MB / 1.028 GB, free: 7.535 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=400 -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/jenkins/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