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.001169/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.315/2.315, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 59.91 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6523/0.6537, allocations: 140.4 MB / 0.9496 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002882/0.6566, allocations: 1.735 MB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.6578, allocations: 0.7203 MB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.6578, allocations: 0 / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.6579, allocations: 17.14 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.658, allocations: 22.5 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.6584, allocations: 91.53 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.6586, allocations: 112.3 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.6587, allocations: 42.45 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.6588, allocations: 48.67 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.6589, allocations: 48.36 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.6589, allocations: 13.56 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.6591, allocations: 103.9 kB / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.6591, allocations: 31.45 kB / 0.9525 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.6592, allocations: 53.11 kB / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.6594, allocations: 146 kB / 0.9527 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6594, allocations: 0 / 0.9527 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6594, allocations: 0 / 0.9527 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.6594, allocations: 0 / 0.9527 GB, free: 6.832 MB / 0.7169 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.000556/0.66, allocations: 450.1 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.66, allocations: 10 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.6601, allocations: 14.09 kB / 0.9531 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.6602, allocations: 186.8 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.6602, allocations: 4.219 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.6602, allocations: 13.94 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.6605, allocations: 124 kB / 0.9535 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6606, allocations: 4 kB / 0.9535 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6606, allocations: 5.438 kB / 0.9535 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.6606, allocations: 1.344 kB / 0.9535 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.6609, allocations: 106.6 kB / 0.9536 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.6614, allocations: 399.8 kB / 0.954 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.6618, allocations: 105.2 kB / 0.9541 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.662, allocations: 60.02 kB / 0.9541 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.6623, allocations: 0.5693 MB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.6623, allocations: 39.69 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.6623, allocations: 0 / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006461/0.663, allocations: 189.9 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.663, allocations: 56.5 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.6631, allocations: 165 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.6631, allocations: 30.83 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.6632, allocations: 100.1 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.6632, allocations: 31.83 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.6633, allocations: 19.44 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.6633, allocations: 321.3 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.6635, allocations: 51.98 kB / 0.9556 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.6636, allocations: 45.23 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.664, allocations: 100.3 kB / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.664, allocations: 0 / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003659/0.6643, allocations: 152.5 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6644, allocations: 6.375 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6644, allocations: 0 / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6644, allocations: 1.125 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.6646, allocations: 25.97 kB / 0.9559 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6646, allocations: 4 kB / 0.956 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.6647, allocations: 25.02 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.6647, allocations: 1.375 kB / 0.956 GB, free: 3.801 MB / 0.7169 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 6.161e-05/0.6648, allocations: 119 kB / 0.9561 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.6648, allocations: 17.62 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.6652, allocations: 161.2 kB / 0.9563 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6652, allocations: 0 / 0.9563 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6652, allocations: 0 / 0.9563 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6652, allocations: 0 / 0.9563 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.6654, allocations: 207.4 kB / 0.9565 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6654, allocations: 3.938 kB / 0.9565 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.6655, allocations: 23.05 kB / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6656, allocations: 0 / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.6656, allocations: 1.469 kB / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6656, allocations: 4 kB / 0.9565 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6656, allocations: 3.984 kB / 0.9565 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.666, allocations: 240.4 kB / 0.9567 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.666, allocations: 105.6 kB / 0.9568 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.666, allocations: 5.109 kB / 0.9568 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6662, allocations: 18.17 kB / 0.9568 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.6662, allocations: 8.25 kB / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.6662, allocations: 1 kB / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.6663, allocations: 128.8 kB / 0.957 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6663, allocations: 0 / 0.957 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002472/0.6666, allocations: 21.66 kB / 0.957 GB, free: 2.895 MB / 0.7169 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.0001697/0.6667, allocations: 116.3 kB / 0.9571 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.6671, allocations: 112.8 kB / 0.9572 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6672, allocations: 4 kB / 0.9572 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.6673, allocations: 54.11 kB / 0.9573 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.6677, allocations: 35.78 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.6681, allocations: 227 kB / 0.9575 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.6683, allocations: 0.7041 MB / 0.9582 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.277e-05/0.6683, allocations: 14.58 kB / 0.9582 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.6684, allocations: 13.84 kB / 0.9582 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6684, allocations: 0 / 0.9582 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.003963/0.6724, allocations: 1.606 MB / 0.9598 GB, free: 0.9961 MB / 0.7169 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/jenkins/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