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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001067/0.001067, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00127/0.00127, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.988/2.988, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 18.69 kB / 0.9021 GB, free: 36.78 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002089/0.3944, allocations: 1.405 MB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3958, allocations: 0.6744 MB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.3959, allocations: 4 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.3959, allocations: 7.875 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.067e-05/0.396, allocations: 27.78 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.3964, allocations: 63.86 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3966, allocations: 99.64 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3967, allocations: 33.58 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.3968, allocations: 35.78 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.3969, allocations: 43.78 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3969, allocations: 4 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.3972, allocations: 95.89 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.3973, allocations: 15.92 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.3973, allocations: 41.64 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3975, allocations: 111.7 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3975, allocations: 0 / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3975, allocations: 0 / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.3976, allocations: 4 kB / 1.061 GB, free: 2.602 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.0006357/0.3982, allocations: 431 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3982, allocations: 12.03 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3983, allocations: 15.75 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3984, allocations: 175 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3985, allocations: 11.95 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3985, allocations: 8 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.3988, allocations: 127.4 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3989, allocations: 3.938 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3989, allocations: 8 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3989, allocations: 4 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.3993, allocations: 131.9 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.4, allocations: 404.1 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4003, allocations: 114.6 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4005, allocations: 76.86 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.401, allocations: 0.5583 MB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.4011, allocations: 46.45 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.4011, allocations: 0 / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006368/0.4017, allocations: 221.7 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.4018, allocations: 51.41 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.402, allocations: 164 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.402, allocations: 29.62 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.402, allocations: 104.2 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.4021, allocations: 31.55 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.4021, allocations: 8 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4022, allocations: 322.8 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.4024, allocations: 51.97 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.4025, allocations: 55.95 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.4027, allocations: 55.97 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4027, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003921/0.4031, allocations: 161.5 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4031, allocations: 12 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4031, allocations: 3.953 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4032, allocations: 3.984 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4033, allocations: 35.91 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4033, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.4034, allocations: 27.89 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4035, allocations: 4 kB / 1.064 GB, free: 14.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/0.4036, allocations: 113.8 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.4036, allocations: 11.81 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.4041, allocations: 178.9 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4041, allocations: 4.328 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4041, allocations: 0 / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4041, allocations: 3.984 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4043, allocations: 213.6 kB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4043, allocations: 7.938 kB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4045, allocations: 31.98 kB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4045, allocations: 0 / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4045, allocations: 3.984 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4045, allocations: 0 / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4045, allocations: 3.953 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.4049, allocations: 263.2 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.405, allocations: 93 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.405, allocations: 7.984 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.4052, allocations: 15.98 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.4052, allocations: 19.88 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.4052, allocations: 3.938 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.583e-05/0.4053, allocations: 120 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4054, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000262/0.4056, allocations: 24 kB / 1.065 GB, free: 13.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.4058, allocations: 103.2 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.4063, allocations: 131.8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4063, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.4065, allocations: 71.95 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.4069, allocations: 25.59 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.4074, allocations: 255.3 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.4079, allocations: 0.7004 MB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.408, allocations: 16.55 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.4081, allocations: 11.44 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4081, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.005031/0.4131, allocations: 1.376 MB / 1.068 GB, free: 10.93 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