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.0008028/0.0008029, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005419/0.005419, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.545/2.545, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005891/0.0005893, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6617, allocations: 142.4 MB / 0.9551 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001733/0.6635, allocations: 1.459 MB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.6645, allocations: 0.7153 MB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.6646, allocations: 1.875 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.6647, allocations: 7.922 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.6647, allocations: 14.33 kB / 0.9572 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.6651, allocations: 79.41 kB / 0.9573 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.6652, allocations: 104.6 kB / 0.9574 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.6653, allocations: 33.19 kB / 0.9574 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.6654, allocations: 34.05 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.6655, allocations: 41.31 kB / 0.9575 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.6655, allocations: 2.812 kB / 0.9575 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.6657, allocations: 110.5 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.6658, allocations: 15.83 kB / 0.9576 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.6658, allocations: 68.88 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.666, allocations: 148.8 kB / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.666, allocations: 1.781 kB / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.666, allocations: 0 / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.666, allocations: 0 / 0.9578 GB, free: 5.531 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.000562/0.6666, allocations: 438.3 kB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6667, allocations: 8.281 kB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.6667, allocations: 18.69 kB / 0.9583 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.6668, allocations: 186.1 kB / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.6668, allocations: 7.031 kB / 0.9584 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.6669, allocations: 14.25 kB / 0.9585 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.6672, allocations: 133.2 kB / 0.9586 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6672, allocations: 1.375 kB / 0.9586 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.6672, allocations: 4 kB / 0.9586 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6672, allocations: 2.531 kB / 0.9586 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.6676, allocations: 137 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.6681, allocations: 393.8 kB / 0.9591 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.6685, allocations: 123 kB / 0.9592 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.6687, allocations: 75.12 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.669, allocations: 0.562 MB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.669, allocations: 39.94 kB / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.669, allocations: 0 / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006745/0.6697, allocations: 218.6 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.6697, allocations: 56.77 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.6698, allocations: 163.1 kB / 0.9603 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.6699, allocations: 29.64 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.6699, allocations: 105.5 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.6699, allocations: 30.3 kB / 0.9605 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.67, allocations: 12.47 kB / 0.9605 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.67, allocations: 329.6 kB / 0.9608 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.6702, allocations: 54.33 kB / 0.9608 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.6704, allocations: 62.33 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.6707, allocations: 127.3 kB / 0.961 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6708, allocations: 0 / 0.961 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004036/0.6712, allocations: 163.9 kB / 0.9612 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6712, allocations: 5.5 kB / 0.9612 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6712, allocations: 0 / 0.9612 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6712, allocations: 1.375 kB / 0.9612 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.6714, allocations: 29.88 kB / 0.9612 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6714, allocations: 5.312 kB / 0.9612 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.6715, allocations: 29.17 kB / 0.9612 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6715, allocations: 2.219 kB / 0.9612 GB, free: 2.5 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.047e-05/0.6716, allocations: 113.3 kB / 0.9613 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.6716, allocations: 13.66 kB / 0.9614 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.6721, allocations: 182.9 kB / 0.9615 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6721, allocations: 2.219 kB / 0.9615 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6721, allocations: 4 kB / 0.9615 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6722, allocations: 3.984 kB / 0.9615 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.6723, allocations: 211.4 kB / 0.9617 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6723, allocations: 4.906 kB / 0.9617 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.6725, allocations: 30.11 kB / 0.9618 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6725, allocations: 5.141 kB / 0.9618 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6725, allocations: 5.219 kB / 0.9618 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6725, allocations: 0 / 0.9618 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6725, allocations: 0 / 0.9618 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.673, allocations: 264.2 kB / 0.962 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.673, allocations: 101.4 kB / 0.9621 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.6731, allocations: 0.9688 kB / 0.9621 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.6732, allocations: 23.02 kB / 0.9622 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.6733, allocations: 7.953 kB / 0.9622 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.6733, allocations: 2.344 kB / 0.9622 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.6734, allocations: 133.4 kB / 0.9623 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6734, allocations: 0 / 0.9623 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002701/0.6736, allocations: 24.56 kB / 0.9623 GB, free: 1.578 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.0001727/0.6738, allocations: 104.1 kB / 0.9624 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.6742, allocations: 131.8 kB / 0.9625 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6743, allocations: 5.438 kB / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.6745, allocations: 69.61 kB / 0.9626 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.6749, allocations: 36.69 kB / 0.9626 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.6753, allocations: 256.1 kB / 0.9629 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.6755, allocations: 0.7047 MB / 0.9636 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.6755, allocations: 10.2 kB / 0.9636 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.6756, allocations: 17.06 kB / 0.9636 GB, free: 460 kB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.6756, allocations: 1.062 kB / 0.9636 GB, free: 460 kB / 0.7169 GB Notification: Performance of Templates: time 0.004202/0.6798, allocations: 1.422 MB / 0.965 GB, free: 15.74 MB / 0.7325 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