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.001678/0.001678, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001964/0.001964, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 73.27 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002935/0.3343, allocations: 1.783 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3355, allocations: 0.7245 MB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.3355, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.3356, allocations: 7.922 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.3357, allocations: 19.8 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.336, allocations: 83.8 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3362, allocations: 111.6 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3363, allocations: 41.31 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.3364, allocations: 47.84 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.3365, allocations: 55.69 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3365, allocations: 8 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.3367, allocations: 107.8 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3368, allocations: 27.91 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.3368, allocations: 43.73 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.337, allocations: 151.6 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3371, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3371, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3371, allocations: 4 kB / 1.055 GB, free: 5.508 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.0006474/0.3377, allocations: 439 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3378, allocations: 12.61 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.3378, allocations: 12.84 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.338, allocations: 182.4 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.338, allocations: 12.31 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.338, allocations: 12.31 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.3383, allocations: 121.9 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3384, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3384, allocations: 7.984 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3384, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.3388, allocations: 103.9 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.3394, allocations: 404.1 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3397, allocations: 110.5 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3399, allocations: 64.81 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/0.3404, allocations: 0.5583 MB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3405, allocations: 34.56 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.3405, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006319/0.3411, allocations: 193.4 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3411, allocations: 51.78 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.3413, allocations: 164 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3413, allocations: 29.7 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.3414, allocations: 100.1 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3414, allocations: 35.48 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.3415, allocations: 25.7 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3416, allocations: 326.8 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3418, allocations: 39.97 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3419, allocations: 47.89 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.3423, allocations: 100.8 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3423, allocations: 0 / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003797/0.3427, allocations: 145.4 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3427, allocations: 7.938 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3427, allocations: 3.984 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3427, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3429, allocations: 27.98 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3429, allocations: 0 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.343, allocations: 19.83 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.343, allocations: 0 / 1.059 GB, free: 1.816 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 0.0001011/0.3431, allocations: 127.3 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.3432, allocations: 15.84 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.3436, allocations: 159.2 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3436, allocations: 96 / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3437, allocations: 7.938 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3437, allocations: 4 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3439, allocations: 205.6 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3439, allocations: 0 / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.3441, allocations: 31.97 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3441, allocations: 3.938 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3441, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3441, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3441, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.3445, allocations: 247.2 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.3446, allocations: 93 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3447, allocations: 7.938 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3448, allocations: 11.98 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.3448, allocations: 3.984 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3449, allocations: 8 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.65e-05/0.3449, allocations: 120 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.345, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002981/0.3453, allocations: 24 kB / 1.06 GB, free: 0.6719 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.0001976/0.3455, allocations: 119.2 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.3459, allocations: 111.8 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3459, allocations: 0 / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3461, allocations: 51.97 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3466, allocations: 36.36 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.3471, allocations: 267.8 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3474, allocations: 0.7002 MB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.685e-05/0.3474, allocations: 12.55 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3475, allocations: 19.44 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3475, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.004072/0.3516, allocations: 1.483 MB / 1.062 GB, free: 13.84 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