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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001513/0.001513, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001721/0.001721, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.517/1.517, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 64.41 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2992, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003056/0.3023, allocations: 1.746 MB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3035, allocations: 0.7292 MB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3036, allocations: 0 / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.3036, allocations: 11.86 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.3037, allocations: 23.73 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.3041, allocations: 99.7 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3042, allocations: 111.6 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3044, allocations: 33.38 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.3045, allocations: 39.86 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.3045, allocations: 55.75 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3046, allocations: 12 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.3048, allocations: 111.8 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.3049, allocations: 23.91 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.3049, allocations: 51.67 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3052, allocations: 151.5 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3052, allocations: 4 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3052, allocations: 0 / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3052, allocations: 0 / 0.9534 GB, free: 5.648 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.0006295/0.3058, allocations: 443 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3059, allocations: 8.031 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.3059, allocations: 16.83 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3061, allocations: 180.1 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3061, allocations: 4.375 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3061, allocations: 20.06 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.3065, allocations: 121.5 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3065, allocations: 0 / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3065, allocations: 4 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3065, allocations: 4 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.3069, allocations: 110.1 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.3075, allocations: 400.3 kB / 0.9547 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.3078, allocations: 110.5 kB / 0.9548 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.308, allocations: 60.81 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/0.3085, allocations: 0.5583 MB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3086, allocations: 42.48 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.3086, allocations: 3.938 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006675/0.3092, allocations: 189.6 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.3093, allocations: 51.41 kB / 0.9556 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3095, allocations: 159.4 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3095, allocations: 33.7 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.3095, allocations: 100.1 kB / 0.9559 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3096, allocations: 31.55 kB / 0.9559 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.3096, allocations: 21.7 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3098, allocations: 322.8 kB / 0.9563 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3099, allocations: 43.97 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3101, allocations: 51.89 kB / 0.9564 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.3105, allocations: 96.78 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3105, allocations: 4 kB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003755/0.3109, allocations: 145.3 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3109, allocations: 6.5 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3109, allocations: 0 / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3109, allocations: 3.984 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3111, allocations: 31.97 kB / 0.9566 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3111, allocations: 4 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3112, allocations: 19.89 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3112, allocations: 0 / 0.9567 GB, free: 1.953 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 9.172e-05/0.3113, allocations: 113.8 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.3114, allocations: 24.14 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.3118, allocations: 162.9 kB / 0.9569 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3118, allocations: 0 / 0.9569 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3118, allocations: 0 / 0.9569 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3118, allocations: 7.938 kB / 0.957 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.3121, allocations: 201.6 kB / 0.9571 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3121, allocations: 3.938 kB / 0.9572 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3122, allocations: 27.97 kB / 0.9572 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3123, allocations: 0 / 0.9572 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3123, allocations: 4 kB / 0.9572 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3123, allocations: 0 / 0.9572 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3123, allocations: 0 / 0.9572 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.3127, allocations: 239.2 kB / 0.9574 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.3128, allocations: 100.9 kB / 0.9575 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3128, allocations: 7.938 kB / 0.9575 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.313, allocations: 11.98 kB / 0.9575 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.313, allocations: 7.984 kB / 0.9575 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.313, allocations: 4 kB / 0.9575 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3131, allocations: 124.9 kB / 0.9577 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3131, allocations: 0 / 0.9577 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002661/0.3134, allocations: 20 kB / 0.9577 GB, free: 0.8164 MB / 0.7325 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.0001873/0.3136, allocations: 123.2 kB / 0.9578 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.314, allocations: 107.8 kB / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.314, allocations: 0 / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3142, allocations: 52.33 kB / 0.9579 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3146, allocations: 44.02 kB / 0.958 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.3151, allocations: 261.6 kB / 0.9582 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.3154, allocations: 0.7039 MB / 0.9589 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.3155, allocations: 15.44 kB / 0.9589 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.3155, allocations: 0 / 0.9589 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.003269/0.3188, allocations: 1.464 MB / 0.9604 GB, free: 14 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 -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