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.001568/0.001568, allocations: 107 kB / 15.99 MB, free: 5.895 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.001551/0.001551, allocations: 188.4 kB / 16.91 MB, free: 5.746 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.612/2.612, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 66.02 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3358, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003754/0.3396, allocations: 1.786 MB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.341, allocations: 0.7207 MB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.936e-05/0.3412, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/0.3413, allocations: 3.938 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3414, allocations: 19.86 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3419, allocations: 83.84 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3421, allocations: 111.6 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3422, allocations: 41.33 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3424, allocations: 39.86 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.3425, allocations: 55.7 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3425, allocations: 8 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.3428, allocations: 111.9 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.3429, allocations: 19.92 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.3429, allocations: 47.73 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3432, allocations: 115.8 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3432, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3432, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.3432, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 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.0007506/0.3439, allocations: 439 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.344, allocations: 8.031 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.344, allocations: 20.73 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3442, allocations: 182.1 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3443, allocations: 8.375 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3443, allocations: 8.375 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.3447, allocations: 124 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3447, allocations: 3.938 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3447, allocations: 4 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3447, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.3451, allocations: 119.7 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.3458, allocations: 400.2 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3461, allocations: 110.6 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3463, allocations: 60.81 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.3469, allocations: 0.5583 MB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3469, allocations: 38.48 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3469, allocations: 4 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0006549/0.3476, allocations: 193.3 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3476, allocations: 51.41 kB / 1.069 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3478, allocations: 163.3 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3478, allocations: 29.7 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.3479, allocations: 104.1 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.348, allocations: 27.56 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.348, allocations: 21.7 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3482, allocations: 326.8 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3483, allocations: 39.97 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3485, allocations: 47.95 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3488, allocations: 100.7 kB / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3488, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003824/0.3492, allocations: 138 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3493, allocations: 11.94 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3493, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3493, allocations: 3.984 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3495, allocations: 31.92 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3495, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3496, allocations: 19.92 kB / 1.07 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3496, allocations: 7.938 kB / 1.07 GB, free: 8.242 MB / 0.8419 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.0001061/0.3497, allocations: 117.8 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3498, allocations: 19.83 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.3502, allocations: 150.9 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3502, allocations: 4 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3502, allocations: 7.938 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3502, allocations: 4 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3505, allocations: 209.5 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3505, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3507, allocations: 27.97 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3507, allocations: 3.938 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3507, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3507, allocations: 7.938 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3507, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.3512, allocations: 239.3 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.3513, allocations: 93 kB / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3513, allocations: 7.938 kB / 1.071 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3514, allocations: 11.98 kB / 1.071 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3515, allocations: 7.984 kB / 1.071 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3515, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3516, allocations: 128.9 kB / 1.071 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3516, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002481/0.3519, allocations: 27.91 kB / 1.072 GB, free: 7.098 MB / 0.8419 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.0001949/0.3521, allocations: 115.2 kB / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.3525, allocations: 108 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3525, allocations: 4 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.3527, allocations: 55.89 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3531, allocations: 39.94 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.3537, allocations: 281.7 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.354, allocations: 0.7041 MB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.3541, allocations: 15.44 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.3541, allocations: 0 / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.003761/0.3579, allocations: 1.453 MB / 1.074 GB, free: 4.27 MB / 0.8419 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=400 -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/jenkins1/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