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.0008247/0.0008247, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000979/0.0009789, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.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.398/2.398, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.6447, allocations: 142.4 MB / 0.9545 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001498/0.6463, allocations: 1.422 MB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.6471, allocations: 0.6655 MB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.6471, allocations: 1.125 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.6472, allocations: 11.92 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.6472, allocations: 19.03 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.6475, allocations: 70.73 kB / 0.9566 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.6476, allocations: 99.39 kB / 0.9567 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.6477, allocations: 43.09 kB / 0.9567 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.6478, allocations: 30.83 kB / 0.9568 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.6478, allocations: 41.3 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.6479, allocations: 2.594 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.6481, allocations: 106.3 kB / 0.9569 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.6481, allocations: 15.8 kB / 0.9569 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.6481, allocations: 43.73 kB / 0.957 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.6483, allocations: 109.6 kB / 0.9571 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6483, allocations: 4 kB / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6483, allocations: 0 / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6483, allocations: 0 / 0.9571 GB, free: 5.719 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.0004462/0.6487, allocations: 435.1 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.6488, allocations: 13.62 kB / 0.9575 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.6488, allocations: 16.73 kB / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/0.6489, allocations: 178.6 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6489, allocations: 7.094 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.6489, allocations: 10.94 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.6492, allocations: 135.7 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.6492, allocations: 1 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6493, allocations: 5.562 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6493, allocations: 5.359 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.6496, allocations: 129.7 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.65, allocations: 392.1 kB / 0.9583 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.6503, allocations: 121.6 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.6505, allocations: 75.44 kB / 0.9585 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.6508, allocations: 0.5628 MB / 0.9591 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.6508, allocations: 30.56 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.6508, allocations: 1.375 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005531/0.6514, allocations: 225.2 kB / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.6514, allocations: 52.62 kB / 0.9594 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.6515, allocations: 163.4 kB / 0.9595 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.6515, allocations: 25.7 kB / 0.9595 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.6515, allocations: 100.8 kB / 0.9596 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.6516, allocations: 34.73 kB / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.6516, allocations: 1.625 kB / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.6516, allocations: 328.4 kB / 0.96 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.6518, allocations: 57.48 kB / 0.96 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.6519, allocations: 66.67 kB / 0.9601 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.6521, allocations: 54.06 kB / 0.9602 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6521, allocations: 0 / 0.9602 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003435/0.6525, allocations: 167.6 kB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6525, allocations: 5.094 kB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6525, allocations: 0 / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.6525, allocations: 1.125 kB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.6526, allocations: 26.67 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6527, allocations: 0.875 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.6528, allocations: 33.03 kB / 0.9604 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.6528, allocations: 1.812 kB / 0.9604 GB, free: 2.754 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.6528, allocations: 126.3 kB / 0.9605 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.6529, allocations: 17.98 kB / 0.9605 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.6533, allocations: 174.2 kB / 0.9607 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6533, allocations: 1.375 kB / 0.9607 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6533, allocations: 4 kB / 0.9607 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6533, allocations: 5.375 kB / 0.9607 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.6534, allocations: 211.5 kB / 0.9609 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6534, allocations: 0 / 0.9609 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.6536, allocations: 29.92 kB / 0.9609 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6536, allocations: 1.375 kB / 0.9609 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6536, allocations: 5.75 kB / 0.9609 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6536, allocations: 0 / 0.9609 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6536, allocations: 4 kB / 0.9609 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.654, allocations: 267.5 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.654, allocations: 100.5 kB / 0.9613 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.654, allocations: 1.031 kB / 0.9613 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.6542, allocations: 19.91 kB / 0.9613 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.6542, allocations: 8.156 kB / 0.9613 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.6542, allocations: 5.812 kB / 0.9613 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.6543, allocations: 124.9 kB / 0.9614 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6543, allocations: 0 / 0.9614 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002425/0.6545, allocations: 32.17 kB / 0.9615 GB, free: 1.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.6547, allocations: 108.4 kB / 0.9616 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.655, allocations: 134.7 kB / 0.9617 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6551, allocations: 1.219 kB / 0.9617 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.6552, allocations: 70.2 kB / 0.9618 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.6556, allocations: 28.28 kB / 0.9618 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.6559, allocations: 249.5 kB / 0.962 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.656, allocations: 0.7079 MB / 0.9627 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.6561, allocations: 10.48 kB / 0.9627 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.6561, allocations: 16.94 kB / 0.9628 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6561, allocations: 0 / 0.9628 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of Templates: time 0.003368/0.6595, allocations: 1.379 MB / 0.9641 GB, free: 8 kB / 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