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.001015/0.001015, allocations: 97.64 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.007968/0.007968, allocations: 170.1 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.35/2.35, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 8.281 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6684, allocations: 142.4 MB / 0.955 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002519/0.671, allocations: 1.802 MB / 0.9568 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.6731, allocations: 1.186 MB / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.6733, allocations: 2.688 kB / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.6738, allocations: 104.8 kB / 0.9581 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.674, allocations: 34.55 kB / 0.9581 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.6747, allocations: 217.9 kB / 0.9583 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.6751, allocations: 259.1 kB / 0.9586 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.6753, allocations: 93.47 kB / 0.9586 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.6755, allocations: 80.19 kB / 0.9587 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.6756, allocations: 100 kB / 0.9588 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.6757, allocations: 13.5 kB / 0.9588 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.6761, allocations: 197.2 kB / 0.959 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6762, allocations: 75.36 kB / 0.9591 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.6764, allocations: 156.5 kB / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.677, allocations: 0.5158 MB / 0.9597 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.677, allocations: 0 / 0.9597 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.677, allocations: 1.375 kB / 0.9597 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.677, allocations: 3.938 kB / 0.9597 GB, free: 4.293 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.001212/0.6783, allocations: 0.7688 MB / 0.9605 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6783, allocations: 9.406 kB / 0.9605 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.6784, allocations: 36.97 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.6789, allocations: 326.2 kB / 0.9609 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.6789, allocations: 17.06 kB / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.679, allocations: 20.69 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.6798, allocations: 311.7 kB / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6799, allocations: 0 / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.6799, allocations: 7.188 kB / 0.9612 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6799, allocations: 3.031 kB / 0.9612 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.6809, allocations: 303.8 kB / 0.9615 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.6821, allocations: 0.6807 MB / 0.9622 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.6828, allocations: 246.4 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.6834, allocations: 208.6 kB / 0.9626 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.6834, allocations: 1.375 kB / 0.9626 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6834, allocations: 31.81 kB / 0.9626 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.6834, allocations: 0 / 0.9626 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001784/0.6852, allocations: 0.7241 MB / 0.9633 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.6853, allocations: 133.7 kB / 0.9635 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.6858, allocations: 379.7 kB / 0.9638 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.6859, allocations: 31.92 kB / 0.9638 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.686, allocations: 168.6 kB / 0.964 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.6861, allocations: 50.62 kB / 0.9641 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.6861, allocations: 23.25 kB / 0.9641 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.6862, allocations: 350.2 kB / 0.9644 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.6868, allocations: 251.1 kB / 0.9646 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.6874, allocations: 258.5 kB / 0.9649 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6886, allocations: 0.7209 MB / 0.9656 GB, free: 16 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6886, allocations: 0 / 0.9656 GB, free: 16 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001682/0.6903, allocations: 0.761 MB / 0.9663 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.6905, allocations: 182.1 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6905, allocations: 0 / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6905, allocations: 1.156 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.6908, allocations: 38.16 kB / 0.9666 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6908, allocations: 5.078 kB / 0.9666 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.6912, allocations: 54.27 kB / 0.9666 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.6912, allocations: 6.906 kB / 0.9666 GB, free: 15.32 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.0003495/0.6916, allocations: 264 kB / 0.9669 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.6917, allocations: 31.53 kB / 0.9669 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.55e-05/0.6918, allocations: 32.16 kB / 0.9669 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6918, allocations: 0.9688 kB / 0.9669 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6918, allocations: 7.922 kB / 0.9669 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6918, allocations: 1.031 kB / 0.9669 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.6923, allocations: 351.1 kB / 0.9673 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6924, allocations: 0 / 0.9673 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.6926, allocations: 39.94 kB / 0.9673 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6926, allocations: 3.984 kB / 0.9673 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.6926, allocations: 3.906 kB / 0.9673 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6927, allocations: 0.9688 kB / 0.9673 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6927, allocations: 0 / 0.9673 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.6941, allocations: 0.6513 MB / 0.968 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6942, allocations: 110.5 kB / 0.9681 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.6943, allocations: 11.69 kB / 0.9681 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.6946, allocations: 39.06 kB / 0.9681 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.6948, allocations: 28.91 kB / 0.9681 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.6948, allocations: 5.375 kB / 0.9681 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004521/0.6953, allocations: 274.8 kB / 0.9684 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6953, allocations: 0 / 0.9684 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006633/0.696, allocations: 108.8 kB / 0.9685 GB, free: 13.91 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.000385/0.6964, allocations: 164.7 kB / 0.9687 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.6982, allocations: 0.8663 MB / 0.9695 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6982, allocations: 0 / 0.9695 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.699, allocations: 394.1 kB / 0.9699 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.6997, allocations: 77.52 kB / 0.97 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.7012, allocations: 0.7304 MB / 0.9707 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.7017, allocations: 0.7813 MB / 0.9714 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.7019, allocations: 23.73 kB / 0.9715 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.7019, allocations: 15.75 kB / 0.9715 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7019, allocations: 1.531 kB / 0.9715 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.01422/0.7162, allocations: 5.421 MB / 0.9768 GB, free: 8.559 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