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.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.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.001482/0.001482, 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.001719/0.00172, 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.371/1.371, 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.411/2.411, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6395, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002853/0.6424, allocations: 2.152 MB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.6439, allocations: 1.217 MB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.644, allocations: 3.062 kB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.6444, allocations: 100.8 kB / 0.9523 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.6445, allocations: 43.27 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.645, allocations: 200.7 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.6452, allocations: 260.7 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.6454, allocations: 100.9 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.6455, allocations: 93.14 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.6457, allocations: 120 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.6457, allocations: 14.44 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.646, allocations: 198 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.6461, allocations: 84.14 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.6463, allocations: 136.3 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.6467, allocations: 0.5262 MB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6467, allocations: 1.375 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6467, allocations: 3.938 kB / 0.954 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6467, allocations: 0 / 0.954 GB, free: 5.348 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.0009745/0.6477, allocations: 0.8078 MB / 0.9548 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6478, allocations: 9.562 kB / 0.9548 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.6478, allocations: 40.31 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.6481, allocations: 326.2 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6482, allocations: 16.78 kB / 0.9552 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.6482, allocations: 20.44 kB / 0.9552 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.6487, allocations: 289 kB / 0.9555 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6488, allocations: 3.984 kB / 0.9555 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.6488, allocations: 6.906 kB / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6488, allocations: 7.594 kB / 0.9555 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.6494, allocations: 269.7 kB / 0.9558 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.6502, allocations: 0.6716 MB / 0.9564 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.6507, allocations: 235.7 kB / 0.9566 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.651, allocations: 190.4 kB / 0.9568 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.6511, allocations: 1.344 kB / 0.9568 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.6511, allocations: 36.09 kB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.6511, allocations: 0 / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001317/0.6524, allocations: 0.6655 MB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.6525, allocations: 136.6 kB / 0.9576 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.6529, allocations: 380.8 kB / 0.958 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.653, allocations: 35.7 kB / 0.958 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6531, allocations: 168.5 kB / 0.9582 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.6531, allocations: 37.88 kB / 0.9582 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.6532, allocations: 46.95 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.6533, allocations: 346.5 kB / 0.9586 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.6538, allocations: 236 kB / 0.9588 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.6543, allocations: 241.4 kB / 0.9591 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/0.6553, allocations: 0.6929 MB / 0.9597 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6553, allocations: 0 / 0.9597 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001166/0.6565, allocations: 0.7248 MB / 0.9605 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.6566, allocations: 181.4 kB / 0.9606 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6566, allocations: 4 kB / 0.9606 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6566, allocations: 1.125 kB / 0.9606 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6568, allocations: 35.28 kB / 0.9607 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.6569, allocations: 1.219 kB / 0.9607 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.6571, allocations: 43.73 kB / 0.9607 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.6572, allocations: 10.91 kB / 0.9607 GB, free: 368 kB / 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: 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.0002316/0.6574, allocations: 255.9 kB / 0.961 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.6575, allocations: 35.61 kB / 0.961 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.6575, allocations: 27.64 kB / 0.961 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6576, allocations: 5.234 kB / 0.961 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6576, allocations: 1.344 kB / 0.961 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6576, allocations: 0 / 0.961 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.658, allocations: 347.7 kB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.658, allocations: 3.938 kB / 0.9614 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6582, allocations: 35.08 kB / 0.9614 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.6582, allocations: 5.031 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.6583, allocations: 8.094 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6583, allocations: 1.375 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6583, allocations: 0 / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6594, allocations: 0.6149 MB / 0.962 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.6595, allocations: 110.2 kB / 0.9621 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.6595, allocations: 7.594 kB / 0.9621 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.6598, allocations: 24.06 kB / 0.9621 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6599, allocations: 29.69 kB / 0.9622 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.6599, allocations: 4.75 kB / 0.9622 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003171/0.6603, allocations: 279.3 kB / 0.9624 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6603, allocations: 4 kB / 0.9624 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005291/0.6608, allocations: 104.4 kB / 0.9625 GB, free: 14.96 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.0003783/0.6612, allocations: 172.7 kB / 0.9627 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.6624, allocations: 0.8303 MB / 0.9635 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6625, allocations: 0 / 0.9635 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.663, allocations: 378.5 kB / 0.9639 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.6635, allocations: 62.16 kB / 0.9639 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.6646, allocations: 0.723 MB / 0.9647 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.665, allocations: 0.7847 MB / 0.9654 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.6651, allocations: 31.39 kB / 0.9654 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.6652, allocations: 16.91 kB / 0.9655 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.6652, allocations: 0 / 0.9655 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.01058/0.6758, allocations: 5.443 MB / 0.9708 GB, free: 10 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/jenkins/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