Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 99.03 kB / 16.02 MB, free: 76 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.001279/0.001279, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.579/1.579, allocations: 223.3 MB / 241 MB, free: 5.332 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.798/2.798, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003941, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7583, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002197/0.7605, allocations: 1.794 MB / 0.9575 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.7625, allocations: 1.198 MB / 0.9586 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.7626, allocations: 7.406 kB / 0.9586 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.763, allocations: 96.86 kB / 0.9587 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.7631, allocations: 38.52 kB / 0.9588 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.7637, allocations: 213.1 kB / 0.959 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.764, allocations: 263.1 kB / 0.9592 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.7641, allocations: 94.69 kB / 0.9593 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.7642, allocations: 75.86 kB / 0.9594 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.7644, allocations: 110.3 kB / 0.9595 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.7644, allocations: 10.12 kB / 0.9595 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.7647, allocations: 194.6 kB / 0.9597 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.7648, allocations: 79.36 kB / 0.9598 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.765, allocations: 151.1 kB / 0.9599 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.7653, allocations: 413.2 kB / 0.9603 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7654, allocations: 1.375 kB / 0.9603 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7654, allocations: 0 / 0.9603 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7654, allocations: 0 / 0.9603 GB, free: 4.227 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001037/0.7664, allocations: 0.7734 MB / 0.9611 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.7665, allocations: 9 kB / 0.9611 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.7666, allocations: 36.88 kB / 0.9611 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.7669, allocations: 331 kB / 0.9614 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.767, allocations: 11.81 kB / 0.9614 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.767, allocations: 20.81 kB / 0.9614 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.7676, allocations: 308.7 kB / 0.9617 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7677, allocations: 0 / 0.9617 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.7677, allocations: 10.69 kB / 0.9618 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7677, allocations: 4.125 kB / 0.9618 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.7684, allocations: 306 kB / 0.962 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009742/0.7694, allocations: 0.6734 MB / 0.9627 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.77, allocations: 255.5 kB / 0.9629 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.7704, allocations: 207.9 kB / 0.9631 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.7705, allocations: 1.281 kB / 0.9631 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.7705, allocations: 31.75 kB / 0.9632 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.7705, allocations: 0 / 0.9632 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001367/0.7719, allocations: 0.7254 MB / 0.9639 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.7719, allocations: 140.5 kB / 0.964 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.7723, allocations: 376.4 kB / 0.9644 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.7724, allocations: 32.02 kB / 0.9644 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.7725, allocations: 164 kB / 0.9646 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.7725, allocations: 45.89 kB / 0.9646 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.7725, allocations: 28.33 kB / 0.9646 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.7726, allocations: 346.1 kB / 0.965 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.7731, allocations: 254.7 kB / 0.9652 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.7735, allocations: 260.5 kB / 0.9655 GB, free: 448 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.7744, allocations: 0.7055 MB / 0.9661 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7745, allocations: 0 / 0.9661 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001253/0.7757, allocations: 0.7726 MB / 0.9669 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.7759, allocations: 185.3 kB / 0.9671 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.7759, allocations: 5.062 kB / 0.9671 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.7759, allocations: 0 / 0.9671 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.7762, allocations: 39.62 kB / 0.9671 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.7762, allocations: 0.9062 kB / 0.9671 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.7764, allocations: 49.84 kB / 0.9672 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.7765, allocations: 10.94 kB / 0.9672 GB, free: 15.24 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: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0002789/0.7768, allocations: 260.4 kB / 0.9674 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.7768, allocations: 34.47 kB / 0.9675 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.7769, allocations: 28.94 kB / 0.9675 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7769, allocations: 1.344 kB / 0.9675 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7769, allocations: 0 / 0.9675 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7769, allocations: 0 / 0.9675 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.7773, allocations: 359.5 kB / 0.9678 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7774, allocations: 1.031 kB / 0.9678 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.7775, allocations: 38.66 kB / 0.9679 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7775, allocations: 1.031 kB / 0.9679 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.7776, allocations: 3.188 kB / 0.9679 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7776, allocations: 1.125 kB / 0.9679 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7776, allocations: 0 / 0.9679 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.7789, allocations: 0.653 MB / 0.9685 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.779, allocations: 106.2 kB / 0.9686 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.7791, allocations: 8.312 kB / 0.9686 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.7793, allocations: 45.95 kB / 0.9687 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7795, allocations: 25.53 kB / 0.9687 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.7795, allocations: 5.312 kB / 0.9687 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004268/0.78, allocations: 270 kB / 0.969 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.78, allocations: 3.938 kB / 0.969 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007635/0.7808, allocations: 112.9 kB / 0.9691 GB, free: 13.84 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0003757/0.7811, allocations: 166 kB / 0.9692 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.7827, allocations: 0.8694 MB / 0.9701 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7827, allocations: 1.219 kB / 0.9701 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.7833, allocations: 389.4 kB / 0.9704 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.7838, allocations: 67.91 kB / 0.9705 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.7854, allocations: 0.7683 MB / 0.9713 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.786, allocations: 0.7883 MB / 0.972 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.7861, allocations: 21.31 kB / 0.9721 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7861, allocations: 0 / 0.9721 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01059/0.7967, allocations: 4.921 MB / 0.9769 GB, free: 8.996 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches