Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001453/0.001453, 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.001731/0.001731, allocations: 195.4 kB / 16.14 MB, free: 6.648 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.55 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2628, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003078/0.2659, allocations: 2.154 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2676, allocations: 1.223 MB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.2677, allocations: 7.938 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.2681, allocations: 103.5 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.2682, allocations: 31.72 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.2688, allocations: 207.7 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.2691, allocations: 267.2 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2692, allocations: 91.31 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.2693, allocations: 79.7 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2695, allocations: 135.4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.2696, allocations: 12 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.2699, allocations: 203.7 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.27, allocations: 83.73 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2701, allocations: 131.2 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2707, allocations: 0.5297 MB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2707, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2707, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2707, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 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.001173/0.2719, allocations: 0.8049 MB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.272, allocations: 12.03 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.272, allocations: 32.56 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.2724, allocations: 316.4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2724, allocations: 20.59 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2725, allocations: 20.38 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.273, allocations: 295.2 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2731, allocations: 0 / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.2731, allocations: 12 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.2731, allocations: 7.938 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.2737, allocations: 268.4 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.2747, allocations: 0.676 MB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.2752, allocations: 222.6 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.2756, allocations: 196.7 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.2756, allocations: 4 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2756, allocations: 34.56 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.2757, allocations: 0 / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.001327/0.277, allocations: 0.6731 MB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.2771, allocations: 140.5 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.2775, allocations: 380.5 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2775, allocations: 29.7 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2776, allocations: 172.3 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.2777, allocations: 51.34 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.2778, allocations: 41.7 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2779, allocations: 346.8 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.2784, allocations: 239.8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.2788, allocations: 235.9 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.2798, allocations: 0.6824 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2798, allocations: 0 / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001072/0.2808, allocations: 0.7219 MB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.281, allocations: 183.8 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.281, allocations: 0 / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.281, allocations: 4 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2812, allocations: 27.91 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2812, allocations: 7.984 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.2814, allocations: 47.72 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.2814, allocations: 8 kB / 1.064 GB, free: 12.34 MB / 0.8262 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.0002175/0.2817, allocations: 268.3 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.2817, allocations: 31.62 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.2818, allocations: 30.92 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2818, allocations: 0 / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2818, allocations: 0 / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2818, allocations: 8 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.2822, allocations: 345.3 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2822, allocations: 0 / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2824, allocations: 27.97 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2824, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.2824, allocations: 7.938 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.2824, allocations: 3.938 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2824, allocations: 4 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.2834, allocations: 0.6211 MB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.2835, allocations: 116.6 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.2835, allocations: 8 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2838, allocations: 31.97 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2839, allocations: 27.97 kB / 1.065 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2839, allocations: 7.984 kB / 1.065 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002696/0.2842, allocations: 275 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2842, allocations: 0 / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004143/0.2846, allocations: 99.91 kB / 1.066 GB, free: 10.32 MB / 0.8262 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.0002854/0.2849, allocations: 155.2 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.286, allocations: 0.8399 MB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.286, allocations: 0 / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.2865, allocations: 382 kB / 1.067 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.287, allocations: 65.34 kB / 1.067 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.288, allocations: 0.7181 MB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2883, allocations: 0.787 MB / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.35e-05/0.2884, allocations: 21.94 kB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.2885, allocations: 15.44 kB / 1.069 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.2885, allocations: 8 kB / 1.069 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.009248/0.2977, allocations: 5.448 MB / 1.074 GB, free: 1.812 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches