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.01299/0.01299, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.002377/0.002377, allocations: 191.7 kB / 16.67 MB, free: 5.918 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.724/2.724, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3724, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003423/0.3759, allocations: 1.735 MB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3772, allocations: 0.7215 MB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.3774, allocations: 7.938 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.431e-05/0.3774, allocations: 15.8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.3775, allocations: 15.8 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.3782, allocations: 95.7 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.3784, allocations: 111.6 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.3786, allocations: 33.09 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3787, allocations: 43.84 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3788, allocations: 55.77 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3789, allocations: 12 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.3792, allocations: 111.8 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.3793, allocations: 27.91 kB / 1.17 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.3794, allocations: 47.73 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.3797, allocations: 151.4 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3798, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3798, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3798, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 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.0008995/0.3807, allocations: 450.8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3807, allocations: 19.86 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.3808, allocations: 16.84 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.381, allocations: 180.2 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.381, allocations: 8.375 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3811, allocations: 12.38 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.3814, allocations: 124.3 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3814, allocations: 4 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3815, allocations: 0 / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3815, allocations: 4 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.3818, allocations: 107.9 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.3825, allocations: 404.2 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.3828, allocations: 114.5 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.383, allocations: 64.81 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/0.3835, allocations: 0.5583 MB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3835, allocations: 38.56 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3836, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006538/0.3842, allocations: 189.4 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3843, allocations: 55.41 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3844, allocations: 164.8 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3844, allocations: 29.7 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.3845, allocations: 100.1 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3845, allocations: 31.73 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.3846, allocations: 17.72 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3847, allocations: 322.8 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.3849, allocations: 47.95 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3851, allocations: 43.95 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.3854, allocations: 104.7 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3854, allocations: 0 / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004092/0.3858, allocations: 154 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3859, allocations: 7.938 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3859, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3859, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3861, allocations: 27.97 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3861, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3862, allocations: 27.81 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3862, allocations: 4 kB / 1.173 GB, free: 15.87 MB / 0.9356 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.809e-05/0.3863, allocations: 113.8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.3864, allocations: 15.89 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.3868, allocations: 158.9 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3868, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3869, allocations: 4 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3869, allocations: 3.984 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3871, allocations: 205.6 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3871, allocations: 0 / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3873, allocations: 39.91 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.3873, allocations: 3.938 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3873, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3873, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3874, allocations: 4 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.3878, allocations: 239.4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.3879, allocations: 97 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3879, allocations: 3.938 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3881, allocations: 15.98 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.3881, allocations: 11.98 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3881, allocations: 0 / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.909e-05/0.3882, allocations: 124.9 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3882, allocations: 288 / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002721/0.3885, allocations: 27.94 kB / 1.174 GB, free: 14.72 MB / 0.9356 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.0002007/0.3887, allocations: 107.2 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.3892, allocations: 119.8 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3892, allocations: 0 / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.3894, allocations: 59.89 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3898, allocations: 23.98 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.3903, allocations: 231.7 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3906, allocations: 0.6963 MB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.223e-05/0.3907, allocations: 16.55 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3907, allocations: 11.44 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3907, allocations: 0 / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of Templates: time 0.004854/0.3956, allocations: 1.617 MB / 1.177 GB, free: 11.8 MB / 0.9356 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=480 -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