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.005206/0.005206, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.00121/0.00121, allocations: 195 kB / 16.67 MB, free: 6.379 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.41 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.268, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003704/0.2718, allocations: 2.104 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2739, allocations: 1.169 MB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.2742, allocations: 4 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.2747, allocations: 119.3 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2749, allocations: 51.56 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.2757, allocations: 259.5 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.2762, allocations: 323.2 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.2764, allocations: 94.8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2765, allocations: 111.6 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2768, allocations: 123.5 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.2768, allocations: 32 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.2772, allocations: 231.7 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2774, allocations: 91.73 kB / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.2775, allocations: 151.2 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.2782, allocations: 0.553 MB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2782, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2782, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.2782, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 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.001321/0.2796, allocations: 0.8127 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2796, allocations: 8.031 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.814e-05/0.2797, allocations: 32.56 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.2801, allocations: 328.2 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2802, allocations: 12.66 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2802, allocations: 23.94 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.2808, allocations: 290.9 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2808, allocations: 4 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.2809, allocations: 8 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2809, allocations: 4 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.2815, allocations: 264.4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2825, allocations: 0.6718 MB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.283, allocations: 230.6 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.2834, allocations: 188.7 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2834, allocations: 0 / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2835, allocations: 38.56 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2835, allocations: 0 / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001318/0.2848, allocations: 0.6776 MB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.2849, allocations: 132.5 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.2853, allocations: 376.5 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2854, allocations: 37.7 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.2855, allocations: 168.3 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.2855, allocations: 43.36 kB / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.2856, allocations: 53.64 kB / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2858, allocations: 342.8 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.2863, allocations: 239.8 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.2867, allocations: 241.3 kB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/0.2877, allocations: 0.6809 MB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2877, allocations: 0 / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001238/0.2889, allocations: 0.7355 MB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.2891, allocations: 178.2 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2892, allocations: 0 / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.2892, allocations: 0 / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.2894, allocations: 35.91 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2894, allocations: 7.984 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2897, allocations: 39.75 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.2897, allocations: 11.94 kB / 1.1 GB, free: 4.812 MB / 0.8575 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.0003222/0.2901, allocations: 260.9 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.2901, allocations: 27.62 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.2902, allocations: 34.94 kB / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2902, allocations: 4 kB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.2903, allocations: 0 / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2903, allocations: 0 / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.2908, allocations: 353.2 kB / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2908, allocations: 0 / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2909, allocations: 31.97 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.291, allocations: 0 / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.291, allocations: 4 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.291, allocations: 7.875 kB / 1.101 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.291, allocations: 0 / 1.101 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2921, allocations: 0.6173 MB / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2922, allocations: 112.7 kB / 1.101 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.2922, allocations: 8 kB / 1.101 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2925, allocations: 27.97 kB / 1.101 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.2926, allocations: 23.97 kB / 1.101 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2926, allocations: 12 kB / 1.101 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003294/0.293, allocations: 275 kB / 1.102 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.293, allocations: 4 kB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004572/0.2934, allocations: 99.91 kB / 1.102 GB, free: 2.805 MB / 0.8575 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.0003589/0.2938, allocations: 171.1 kB / 1.102 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.2951, allocations: 0.8282 MB / 1.103 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2951, allocations: 0 / 1.103 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.2957, allocations: 382 kB / 1.103 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.2961, allocations: 69.28 kB / 1.103 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2973, allocations: 0.6398 MB / 1.104 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.2978, allocations: 0.7753 MB / 1.104 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.2979, allocations: 25.94 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.298, allocations: 23.44 kB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.298, allocations: 0 / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.01163/0.3096, allocations: 5.981 MB / 1.11 GB, free: 9.82 MB / 0.8731 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