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.001518/0.001518, allocations: 106 kB / 16.41 MB, free: 6.406 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.001699/0.001699, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 64.12 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8943, allocations: 159.1 MB / 1.221 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003289/0.8976, allocations: 1.725 MB / 1.223 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.899, allocations: 0.7216 MB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.8991, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.8992, allocations: 7.875 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.8993, allocations: 27.73 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.8998, allocations: 91.7 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.9, allocations: 115.6 kB / 1.224 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.9002, allocations: 44.77 kB / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.9003, allocations: 39.84 kB / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.474e-05/0.9004, allocations: 51.77 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.9004, allocations: 12 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.9007, allocations: 107.9 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.9008, allocations: 19.92 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.9009, allocations: 55.67 kB / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.9012, allocations: 159.5 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9012, allocations: 4 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9012, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.9012, allocations: 0 / 1.224 GB, free: 15.11 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.0006943/0.9019, allocations: 445 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.902, allocations: 8.625 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.902, allocations: 12.75 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.9022, allocations: 184.2 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.9022, allocations: 8.375 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.9022, allocations: 8.375 kB / 1.225 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.9026, allocations: 132.4 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.9026, allocations: 0 / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.9026, allocations: 4 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9026, allocations: 4 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.903, allocations: 115.8 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.9037, allocations: 400.2 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.904, allocations: 102.6 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.9042, allocations: 64.81 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005045/0.9047, allocations: 0.5622 MB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.9048, allocations: 30.56 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 3.747e-06/0.9048, allocations: 7.984 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0006293/0.9054, allocations: 189.3 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.9055, allocations: 55.41 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.9056, allocations: 167.3 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.9056, allocations: 25.7 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.9057, allocations: 104.1 kB / 1.227 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.9057, allocations: 31.56 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.9058, allocations: 25.7 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9059, allocations: 322.8 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.9061, allocations: 39.97 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.9063, allocations: 43.95 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.9066, allocations: 105.3 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9066, allocations: 4 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003749/0.907, allocations: 141.4 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.907, allocations: 14.28 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.907, allocations: 4 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.907, allocations: 0 / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.9072, allocations: 23.92 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.9072, allocations: 4 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.9073, allocations: 23.83 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.9073, allocations: 3.984 kB / 1.227 GB, free: 11.4 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 8.948e-05/0.9074, allocations: 114.4 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.9075, allocations: 19.75 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.9079, allocations: 158.9 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9079, allocations: 0 / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.908, allocations: 0 / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.908, allocations: 0 / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.9082, allocations: 213.5 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9082, allocations: 7.984 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.9083, allocations: 19.98 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.9084, allocations: 7.938 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.9084, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.9084, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9084, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.9088, allocations: 239.3 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.9089, allocations: 96.91 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.9089, allocations: 11.94 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.9091, allocations: 11.98 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.9091, allocations: 11.92 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.9091, allocations: 4.281 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.251e-05/0.9092, allocations: 120 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9092, allocations: 4 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002483/0.9095, allocations: 27.94 kB / 1.228 GB, free: 10.24 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.0001841/0.9097, allocations: 107.2 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.9101, allocations: 107.8 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9101, allocations: 0 / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.9103, allocations: 63.91 kB / 1.229 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.9107, allocations: 23.97 kB / 1.229 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.9112, allocations: 261.6 kB / 1.229 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9115, allocations: 0.7041 MB / 1.23 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.9116, allocations: 11.44 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.9116, allocations: 0 / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.003876/0.9155, allocations: 1.467 MB / 1.231 GB, free: 7.441 MB / 0.9512 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/jenkins1/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