Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001233/0.001233, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.58 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3018, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003177/0.305, allocations: 1.736 MB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3062, allocations: 0.7292 MB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.3062, allocations: 4 kB / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.3063, allocations: 7.875 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.709e-05/0.3064, allocations: 27.73 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.3068, allocations: 95.7 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3069, allocations: 111.6 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3071, allocations: 33.09 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.3072, allocations: 43.84 kB / 0.9539 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.3072, allocations: 59.7 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3073, allocations: 8 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.3075, allocations: 107.9 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.3075, allocations: 23.92 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3076, allocations: 51.72 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.3078, allocations: 159.4 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3078, allocations: 4 kB / 0.9543 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3078, allocations: 0 / 0.9543 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3079, allocations: 0 / 0.9543 GB, free: 4.852 MB / 0.7325 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.0006239/0.3085, allocations: 439 kB / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3085, allocations: 8.031 kB / 0.9547 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3086, allocations: 12.84 kB / 0.9547 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3087, allocations: 180.1 kB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3087, allocations: 16.38 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.3087, allocations: 16.12 kB / 0.9549 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.309, allocations: 123.1 kB / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3091, allocations: 0 / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3091, allocations: 0 / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3091, allocations: 4 kB / 0.955 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.3094, allocations: 111.9 kB / 0.9551 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.31, allocations: 396.2 kB / 0.9555 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.3103, allocations: 110.5 kB / 0.9556 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3105, allocations: 68.86 kB / 0.9557 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/0.311, allocations: 0.5622 MB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.311, allocations: 42.44 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3111, allocations: 0 / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005936/0.3117, allocations: 185.4 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3117, allocations: 51.41 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3118, allocations: 163.4 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3119, allocations: 25.7 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.3119, allocations: 100.1 kB / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.312, allocations: 35.55 kB / 0.9568 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.312, allocations: 21.72 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3121, allocations: 322.8 kB / 0.9571 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3123, allocations: 47.89 kB / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3125, allocations: 39.97 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3127, allocations: 104.8 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3128, allocations: 0 / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003481/0.3131, allocations: 149.9 kB / 0.9575 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3131, allocations: 4 kB / 0.9575 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3131, allocations: 4 kB / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3132, allocations: 96 / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3133, allocations: 27.92 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3133, allocations: 0 / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3134, allocations: 19.88 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3135, allocations: 8 kB / 0.9575 GB, free: 1.156 MB / 0.7325 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.0001021/0.3136, allocations: 119.8 kB / 0.9576 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3136, allocations: 11.84 kB / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.3141, allocations: 162.9 kB / 0.9578 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3141, allocations: 4 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3141, allocations: 0 / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3141, allocations: 0 / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3143, allocations: 209.6 kB / 0.958 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3143, allocations: 7.938 kB / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3145, allocations: 27.97 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3145, allocations: 0 / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3145, allocations: 4 kB / 0.958 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3145, allocations: 0 / 0.958 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3145, allocations: 8 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.3149, allocations: 243.2 kB / 0.9583 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.315, allocations: 100.9 kB / 0.9584 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.315, allocations: 0 / 0.9584 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3152, allocations: 11.98 kB / 0.9584 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.3152, allocations: 11.98 kB / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3152, allocations: 0 / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.041e-05/0.3153, allocations: 124.9 kB / 0.9585 GB, free: 32 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3153, allocations: 4 kB / 0.9585 GB, free: 28 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00027/0.3156, allocations: 32.05 kB / 0.9585 GB, free: 15.99 MB / 0.7481 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.0001949/0.3158, allocations: 111.1 kB / 0.9587 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.3162, allocations: 112 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3162, allocations: 0 / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3164, allocations: 55.97 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3168, allocations: 31.91 kB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.3173, allocations: 230.8 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3176, allocations: 0.7078 MB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.848e-05/0.3177, allocations: 12.55 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.3177, allocations: 19.44 kB / 0.9598 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.3177, allocations: 0 / 0.9598 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.004182/0.3219, allocations: 1.605 MB / 0.9614 GB, free: 13.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches