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.00099/0.0009899, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006976/0.006976, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003573, allocations: 9.125 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3243, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001917/0.3263, allocations: 1.447 MB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3275, allocations: 0.7168 MB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.3276, allocations: 8 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.3276, allocations: 7.922 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3277, allocations: 15.86 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3281, allocations: 74.92 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.3283, allocations: 107.6 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3285, allocations: 37.27 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/0.3286, allocations: 39.84 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.3287, allocations: 39.78 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3287, allocations: 11.92 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.3289, allocations: 95.91 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.329, allocations: 15.92 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.3291, allocations: 77.41 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3293, allocations: 139.6 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3293, allocations: 3.938 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3293, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3293, allocations: 0 / 1.061 GB, free: 2.629 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.0006605/0.33, allocations: 435.2 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.33, allocations: 12.03 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.3301, allocations: 12.75 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3302, allocations: 180.2 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3302, allocations: 8.375 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3303, allocations: 8.359 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.3306, allocations: 144.7 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3306, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3307, allocations: 7.938 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3307, allocations: 4 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.3311, allocations: 127.9 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3317, allocations: 404.1 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.332, allocations: 114.5 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3322, allocations: 80.8 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/0.3328, allocations: 0.5622 MB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3328, allocations: 34.56 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.3328, allocations: 0 / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0007266/0.3335, allocations: 221.4 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.3336, allocations: 55.41 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3337, allocations: 160 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3338, allocations: 34.08 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.3338, allocations: 104 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.3339, allocations: 35.53 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.3339, allocations: 17.72 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.334, allocations: 326.8 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3342, allocations: 55.95 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3344, allocations: 51.97 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.3348, allocations: 120.7 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3348, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004295/0.3352, allocations: 169.5 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3353, allocations: 7.938 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3353, allocations: 4 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3353, allocations: 4 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3355, allocations: 23.98 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3355, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3356, allocations: 31.81 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3356, allocations: 4 kB / 1.065 GB, free: 14.78 MB / 0.8262 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.0001043/0.3357, allocations: 119.4 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.3358, allocations: 15.84 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.3363, allocations: 175.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3363, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3363, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3363, allocations: 4.031 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3365, allocations: 213.5 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3365, allocations: 7.984 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3367, allocations: 31.92 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3367, allocations: 3.938 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3367, allocations: 4 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3367, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3367, allocations: 4 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.3372, allocations: 259.3 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.3373, allocations: 100.9 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3373, allocations: 7.938 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3375, allocations: 15.98 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3375, allocations: 7.984 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.3375, allocations: 4 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.3376, allocations: 120 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3376, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002576/0.3379, allocations: 31.98 kB / 1.066 GB, free: 13.58 MB / 0.8262 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.0001749/0.3381, allocations: 111.2 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.3385, allocations: 131.8 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3385, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.3387, allocations: 67.91 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3392, allocations: 33.75 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.3397, allocations: 263.4 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3399, allocations: 0.7004 MB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.799e-05/0.34, allocations: 16.55 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.3401, allocations: 15.38 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3401, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.004417/0.3445, allocations: 1.416 MB / 1.069 GB, free: 10.8 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