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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001878/0.001878, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.308/2.308, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.685, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002534/0.6876, allocations: 1.791 MB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.6886, allocations: 0.7297 MB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.6887, allocations: 1.531 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.6887, allocations: 3.938 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.6888, allocations: 27.03 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.6891, allocations: 63.19 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.6892, allocations: 108.6 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.6893, allocations: 44.42 kB / 0.9516 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.6894, allocations: 39.89 kB / 0.9517 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.6894, allocations: 49.05 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.6894, allocations: 10.28 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.6897, allocations: 105.3 kB / 0.9518 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.6897, allocations: 22.56 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.6897, allocations: 48.2 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.6899, allocations: 149.2 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6899, allocations: 0 / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6899, allocations: 4 kB / 0.952 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.6899, allocations: 1.312 kB / 0.952 GB, free: 6.723 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.0005317/0.6905, allocations: 440.9 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6905, allocations: 9.25 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.6906, allocations: 11.34 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.6907, allocations: 187.9 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.6907, allocations: 7.656 kB / 0.9527 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.6907, allocations: 19.19 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.691, allocations: 119.4 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6911, allocations: 0 / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.6911, allocations: 1.438 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6911, allocations: 2.75 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.6914, allocations: 113.6 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.6919, allocations: 399.4 kB / 0.9533 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.6922, allocations: 104.6 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.6924, allocations: 69.06 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.6928, allocations: 0.5537 MB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.6928, allocations: 39.47 kB / 0.954 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.6928, allocations: 0 / 0.954 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006154/0.6934, allocations: 189.3 kB / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.6935, allocations: 53.59 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.6936, allocations: 174.8 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.6936, allocations: 29.64 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.6937, allocations: 100.9 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.6937, allocations: 35.98 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.6937, allocations: 19.5 kB / 0.9546 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.6938, allocations: 321.3 kB / 0.9549 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.694, allocations: 44.14 kB / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.6941, allocations: 48.89 kB / 0.955 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.6944, allocations: 103.7 kB / 0.9551 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6945, allocations: 0 / 0.9551 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003778/0.6948, allocations: 144.3 kB / 0.9553 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6949, allocations: 4.906 kB / 0.9553 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6949, allocations: 1.188 kB / 0.9553 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6949, allocations: 4 kB / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6951, allocations: 30.41 kB / 0.9553 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6951, allocations: 3.984 kB / 0.9553 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.6952, allocations: 16.42 kB / 0.9553 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6952, allocations: 6.188 kB / 0.9553 GB, free: 3.703 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.079e-05/0.6953, allocations: 114.3 kB / 0.9554 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.6953, allocations: 17.47 kB / 0.9554 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.6957, allocations: 155.2 kB / 0.9556 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6957, allocations: 1.25 kB / 0.9556 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6957, allocations: 5.188 kB / 0.9556 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6957, allocations: 4.359 kB / 0.9556 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.6959, allocations: 207.4 kB / 0.9558 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6959, allocations: 7.938 kB / 0.9558 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.6961, allocations: 22.98 kB / 0.9558 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6961, allocations: 7.922 kB / 0.9558 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6961, allocations: 4.938 kB / 0.9558 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6961, allocations: 1.438 kB / 0.9558 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6961, allocations: 0 / 0.9558 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.6965, allocations: 244.1 kB / 0.9561 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.6965, allocations: 104.3 kB / 0.9562 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.6966, allocations: 1.281 kB / 0.9562 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6967, allocations: 11.14 kB / 0.9562 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.6967, allocations: 11.52 kB / 0.9562 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.6968, allocations: 10.34 kB / 0.9562 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.6968, allocations: 125.2 kB / 0.9563 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6968, allocations: 4 kB / 0.9563 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002578/0.6971, allocations: 24.84 kB / 0.9564 GB, free: 2.781 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.0001704/0.6973, allocations: 104.2 kB / 0.9565 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.6977, allocations: 108.7 kB / 0.9566 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6977, allocations: 0 / 0.9566 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.6979, allocations: 58.02 kB / 0.9566 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.6983, allocations: 34.38 kB / 0.9566 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.6987, allocations: 251.4 kB / 0.9569 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.6989, allocations: 0.7039 MB / 0.9576 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.699, allocations: 6.938 kB / 0.9576 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.699, allocations: 12.97 kB / 0.9576 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.699, allocations: 0 / 0.9576 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.003717/0.7027, allocations: 1.436 MB / 0.959 GB, free: 0.9609 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