Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001622/0.001622, allocations: 108 kB / 15.61 MB, free: 128 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.001639/0.001639, allocations: 196.8 kB / 16.53 MB, free: 6.668 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001968, allocations: 75.86 kB / 0.8693 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.5885, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00351/0.592, allocations: 2.087 MB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.5938, allocations: 1.181 MB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.5939, allocations: 4 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.5943, allocations: 111.4 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.5944, allocations: 47.58 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.5951, allocations: 255.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.5955, allocations: 323.2 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.5957, allocations: 89.03 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.5958, allocations: 107.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.596, allocations: 131.4 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.596, allocations: 28 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.5964, allocations: 231.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.5965, allocations: 91.67 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.5967, allocations: 155.2 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.5973, allocations: 0.5492 MB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5973, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5973, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5973, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 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.001203/0.5985, allocations: 0.8049 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5986, allocations: 11.98 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.5986, allocations: 32.56 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.5991, allocations: 324.4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.5991, allocations: 12.66 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.5991, allocations: 16.38 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.5997, allocations: 299.2 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5998, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.5998, allocations: 8 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.5998, allocations: 7.984 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.6005, allocations: 264.4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.6015, allocations: 0.6793 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.6021, allocations: 234.6 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.6025, allocations: 184.7 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.6025, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.6026, allocations: 34.56 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.6026, allocations: 4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001427/0.604, allocations: 0.6664 MB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.6041, allocations: 144.4 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.6045, allocations: 380.4 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.6046, allocations: 29.7 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.6047, allocations: 160.3 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.6048, allocations: 55.28 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.6049, allocations: 49.7 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.605, allocations: 350.7 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.6055, allocations: 235.7 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.606, allocations: 245.1 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.607, allocations: 0.6868 MB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.607, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001167/0.6082, allocations: 0.7258 MB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.6084, allocations: 184.1 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6084, allocations: 0 / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6084, allocations: 0 / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.6086, allocations: 31.97 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6086, allocations: 0 / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.6088, allocations: 39.72 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.6088, allocations: 19.92 kB / 1.029 GB, free: 5.82 MB / 0.7794 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.0002435/0.6091, allocations: 258.8 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.6092, allocations: 31.62 kB / 1.03 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.6092, allocations: 30.94 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6092, allocations: 4 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6092, allocations: 0 / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6092, allocations: 3.984 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.6096, allocations: 345.3 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6096, allocations: 0 / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.6098, allocations: 31.97 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6098, allocations: 4 kB / 1.03 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6098, allocations: 4 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.6098, allocations: 3.984 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6099, allocations: 0 / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.6109, allocations: 0.6288 MB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.611, allocations: 108.7 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.6111, allocations: 11.98 kB / 1.031 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.6113, allocations: 23.97 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.6114, allocations: 23.97 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.6114, allocations: 12 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002955/0.6117, allocations: 271 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6117, allocations: 0 / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004038/0.6122, allocations: 107.9 kB / 1.031 GB, free: 3.812 MB / 0.7794 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.0002818/0.6124, allocations: 151.2 kB / 1.031 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.6137, allocations: 0.8476 MB / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6137, allocations: 4 kB / 1.032 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.6143, allocations: 374 kB / 1.032 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.6147, allocations: 81.69 kB / 1.032 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.6158, allocations: 0.6436 MB / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.6162, allocations: 0.7831 MB / 1.034 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.6163, allocations: 17.95 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.6164, allocations: 23.44 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6164, allocations: 0 / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of Templates: time 0.01081/0.6272, allocations: 5.963 MB / 1.04 GB, free: 10.83 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches