Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006736/0.006736, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001487/0.001487, allocations: 193 kB / 16.67 MB, free: 5.914 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.698/2.698, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 72.11 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 159.1 MB / 1.221 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.005451/1.143, allocations: 1.718 MB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002343/1.145, allocations: 0.7255 MB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/1.146, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.876e-05/1.146, allocations: 11.86 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/1.146, allocations: 23.73 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/1.147, allocations: 95.7 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/1.147, allocations: 111.6 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/1.147, allocations: 33.09 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/1.147, allocations: 43.84 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/1.147, allocations: 55.77 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/1.147, allocations: 11.94 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/1.148, allocations: 103.9 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/1.148, allocations: 31.84 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/1.148, allocations: 47.73 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/1.148, allocations: 163.9 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.148, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.864e-06/1.148, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.148, allocations: 0 / 1.224 GB, free: 14.88 MB / 0.9512 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.001086/1.149, allocations: 446.7 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.149, allocations: 8.031 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/1.15, allocations: 16.84 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/1.15, allocations: 184.2 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.15, allocations: 8.375 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/1.15, allocations: 12.38 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/1.15, allocations: 121.8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.15, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/1.15, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/1.15, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/1.151, allocations: 111.9 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/1.152, allocations: 396.4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/1.153, allocations: 106.5 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/1.153, allocations: 56.86 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/1.154, allocations: 0.5583 MB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/1.154, allocations: 34.56 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/1.154, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001179/1.155, allocations: 193.4 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.155, allocations: 55.41 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/1.155, allocations: 163.3 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/1.155, allocations: 25.7 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.155, allocations: 108.1 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/1.156, allocations: 32.06 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/1.156, allocations: 29.66 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.156, allocations: 318.8 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/1.156, allocations: 47.89 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/1.156, allocations: 55.89 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/1.157, allocations: 96.8 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.157, allocations: 0 / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007136/1.158, allocations: 141.5 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.158, allocations: 7.938 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.158, allocations: 8 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.158, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.158, allocations: 23.97 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.158, allocations: 0 / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/1.158, allocations: 23.88 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.158, allocations: 7.984 kB / 1.227 GB, free: 11.18 MB / 0.9512 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.000163/1.159, allocations: 118.3 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/1.159, allocations: 23.84 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/1.159, allocations: 150.9 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.159, allocations: 0 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.159, allocations: 384 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.159, allocations: 3.984 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/1.16, allocations: 213.6 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.16, allocations: 0 / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/1.16, allocations: 23.92 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.16, allocations: 3.938 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/1.16, allocations: 11.98 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.16, allocations: 0 / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.16, allocations: 0 / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/1.161, allocations: 239.3 kB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/1.161, allocations: 96.98 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/1.161, allocations: 7.922 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.161, allocations: 11.98 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/1.161, allocations: 11.98 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/1.161, allocations: 4 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001558/1.162, allocations: 124 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.162, allocations: 0 / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004974/1.162, allocations: 24 kB / 1.228 GB, free: 10.02 MB / 0.9512 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.0002696/1.162, allocations: 115.1 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007364/1.163, allocations: 107.8 kB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/1.163, allocations: 4 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/1.163, allocations: 51.95 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/1.164, allocations: 32.39 kB / 1.228 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/1.165, allocations: 235.7 kB / 1.229 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/1.165, allocations: 0.7002 MB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000111/1.166, allocations: 16.55 kB / 1.229 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/1.166, allocations: 11.44 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/1.166, allocations: 0 / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of Templates: time 0.008557/1.174, allocations: 1.626 MB / 1.231 GB, free: 7.09 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches