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.001715/0.001715, allocations: 103.3 kB / 16.27 MB, free: 6 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.001573/0.001573, allocations: 191.7 kB / 17.2 MB, free: 5.637 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.495/1.495, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.622/2.622, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.16 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4155, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003734/0.4193, allocations: 1.722 MB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.4208, allocations: 0.7229 MB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.4209, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.4209, allocations: 15.86 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.421, allocations: 23.73 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.4214, allocations: 95.7 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.4216, allocations: 107.6 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.4218, allocations: 45.31 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.4219, allocations: 39.86 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.4221, allocations: 55.7 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.4221, allocations: 8 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.4224, allocations: 111.9 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.4224, allocations: 23.92 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.4225, allocations: 43.73 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.4227, allocations: 155.6 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4227, allocations: 0 / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4228, allocations: 0 / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.4228, allocations: 0 / 1.021 GB, free: 7.469 MB / 0.795 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.0007846/0.4236, allocations: 443 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4236, allocations: 12.58 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.4237, allocations: 12.84 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4239, allocations: 188.1 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4239, allocations: 12.31 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.4239, allocations: 8.312 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.4243, allocations: 128.5 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4243, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4243, allocations: 4 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4243, allocations: 4 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.4247, allocations: 111.9 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.4256, allocations: 404.1 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.4259, allocations: 114.6 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.4261, allocations: 64.81 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006666/0.4268, allocations: 0.5583 MB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4268, allocations: 34.56 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.4268, allocations: 4 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0006892/0.4275, allocations: 193.3 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4276, allocations: 51.41 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4278, allocations: 164.3 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.4278, allocations: 29.7 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.4279, allocations: 104.1 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.428, allocations: 27.56 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.428, allocations: 21.7 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4282, allocations: 322.8 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.4284, allocations: 43.95 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4286, allocations: 47.95 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.4289, allocations: 105.2 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4289, allocations: 0 / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004061/0.4293, allocations: 145.4 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4294, allocations: 11.94 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4294, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4294, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4296, allocations: 27.97 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4296, allocations: 0 / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4297, allocations: 19.83 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4297, allocations: 0 / 1.024 GB, free: 3.762 MB / 0.795 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.0001208/0.4298, allocations: 121.8 kB / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.4299, allocations: 19.78 kB / 1.024 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.4304, allocations: 154.9 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4304, allocations: 0 / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4304, allocations: 0 / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4305, allocations: 8 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4308, allocations: 201.6 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4308, allocations: 0 / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.4309, allocations: 31.91 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4309, allocations: 3.938 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4309, allocations: 0 / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4309, allocations: 0 / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4309, allocations: 0 / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.4316, allocations: 243.4 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.4317, allocations: 93.09 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4317, allocations: 15.88 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.4318, allocations: 7.984 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4319, allocations: 7.984 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4319, allocations: 12 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000128/0.432, allocations: 124 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.432, allocations: 0 / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002486/0.4323, allocations: 24 kB / 1.025 GB, free: 2.617 MB / 0.795 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.0001888/0.4325, allocations: 115.2 kB / 1.025 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.4329, allocations: 111.9 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4329, allocations: 0 / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4331, allocations: 55.89 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.4336, allocations: 29.28 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.4341, allocations: 257.7 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.4348, allocations: 0.7079 MB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.4348, allocations: 19.44 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.4348, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of Templates: time 0.003784/0.4386, allocations: 1.452 MB / 1.028 GB, free: 15.82 MB / 0.8106 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/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