Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001451/0.001451, allocations: 199.2 kB / 16.14 MB, free: 6.711 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.892/2.892, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6979, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003043/0.701, allocations: 1.78 MB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.7022, allocations: 0.7332 MB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.7022, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.7023, allocations: 3.938 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.889e-05/0.7024, allocations: 23.78 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.7027, allocations: 79.8 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.7028, allocations: 103.6 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.7029, allocations: 31.08 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.703, allocations: 39.86 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.7031, allocations: 59.69 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.7031, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.7034, allocations: 103.8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.7034, allocations: 23.91 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.7035, allocations: 43.73 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.7037, allocations: 147.6 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7037, allocations: 3.984 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7037, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.7038, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 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.0006783/0.7044, allocations: 447.1 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7045, allocations: 11.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.7045, allocations: 12.78 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.7047, allocations: 192 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.7047, allocations: 8.375 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.7048, allocations: 4.375 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.7051, allocations: 127.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7051, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7052, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7052, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.7056, allocations: 111.9 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.7062, allocations: 400.2 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.7066, allocations: 110.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.7068, allocations: 68.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/0.7073, allocations: 0.5583 MB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.7074, allocations: 34.56 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.7074, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006945/0.7081, allocations: 189.4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.7081, allocations: 59.77 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.7083, allocations: 157.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.7083, allocations: 29.7 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.7084, allocations: 100.1 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.7085, allocations: 35.48 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.7085, allocations: 25.72 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7087, allocations: 322.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.7089, allocations: 51.89 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.7091, allocations: 43.95 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.7094, allocations: 100.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7094, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000419/0.7098, allocations: 137.4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.7099, allocations: 13.5 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7099, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7099, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.7101, allocations: 31.97 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7101, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7102, allocations: 19.83 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.7102, allocations: 3.938 kB / 1.023 GB, free: 11.86 MB / 0.7794 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.0001156/0.7104, allocations: 117.8 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.7104, allocations: 15.84 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.7109, allocations: 159.2 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.7109, allocations: 4.078 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7109, allocations: 3.938 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7109, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.7112, allocations: 209.5 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7112, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.7114, allocations: 27.97 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.7114, allocations: 7.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7114, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.7114, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7114, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.7119, allocations: 243.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.7119, allocations: 93 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.712, allocations: 11.94 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7121, allocations: 11.98 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.7122, allocations: 7.984 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.7122, allocations: 4 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001071/0.7123, allocations: 129.6 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7123, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002558/0.7126, allocations: 20 kB / 1.024 GB, free: 10.72 MB / 0.7794 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.0001913/0.7128, allocations: 123.7 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.7132, allocations: 95.92 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7132, allocations: 0 / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.7134, allocations: 67.89 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.7139, allocations: 35.05 kB / 1.024 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.7144, allocations: 265.5 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.7148, allocations: 0.7004 MB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.026e-05/0.7149, allocations: 8.562 kB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.7149, allocations: 15.44 kB / 1.025 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7149, allocations: 0 / 1.025 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of Templates: time 0.004539/0.7195, allocations: 1.421 MB / 1.027 GB, free: 7.961 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches