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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001291/0.001291, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001232/0.001232, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 482.4 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 62.19 kB / 0.9233 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2724, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003284/0.2758, allocations: 2.149 MB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2775, allocations: 1.157 MB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.2776, allocations: 4 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.2779, allocations: 111.5 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.278, allocations: 31.72 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.2786, allocations: 238.8 kB / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.279, allocations: 315.2 kB / 1.086 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2792, allocations: 99.25 kB / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2793, allocations: 103.7 kB / 1.086 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2795, allocations: 139.4 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.2795, allocations: 28 kB / 1.086 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.2798, allocations: 223.7 kB / 1.086 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2799, allocations: 95.73 kB / 1.086 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2801, allocations: 151.2 kB / 1.086 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.2807, allocations: 0.5336 MB / 1.087 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2807, allocations: 3.984 kB / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2807, allocations: 0 / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2807, allocations: 0 / 1.087 GB, free: 8.262 MB / 0.8419 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.001135/0.2818, allocations: 0.8165 MB / 1.088 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2819, allocations: 12.03 kB / 1.088 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.2819, allocations: 36.47 kB / 1.088 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.2823, allocations: 308.5 kB / 1.088 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2823, allocations: 20.64 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.2824, allocations: 16.38 kB / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.283, allocations: 295.2 kB / 1.088 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.283, allocations: 7.984 kB / 1.088 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.283, allocations: 8 kB / 1.088 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2831, allocations: 0 / 1.088 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.2837, allocations: 264.4 kB / 1.089 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009599/0.2847, allocations: 0.6799 MB / 1.089 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.2852, allocations: 226.6 kB / 1.09 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.2856, allocations: 192.7 kB / 1.09 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2856, allocations: 8 kB / 1.09 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2857, allocations: 38.5 kB / 1.09 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2857, allocations: 0 / 1.09 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.001326/0.287, allocations: 0.6741 MB / 1.09 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.2871, allocations: 132.5 kB / 1.091 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.2875, allocations: 388.3 kB / 1.091 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2875, allocations: 33.7 kB / 1.091 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2877, allocations: 160.3 kB / 1.091 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.2877, allocations: 43.44 kB / 1.091 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.2878, allocations: 49.7 kB / 1.091 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.288, allocations: 346.8 kB / 1.092 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.2884, allocations: 235.8 kB / 1.092 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.2889, allocations: 243.8 kB / 1.092 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.2898, allocations: 0.6821 MB / 1.093 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2898, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001096/0.2909, allocations: 0.7296 MB / 1.093 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.291, allocations: 182.2 kB / 1.094 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2911, allocations: 0 / 1.094 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2911, allocations: 0 / 1.094 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2912, allocations: 27.97 kB / 1.094 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2913, allocations: 0 / 1.094 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2915, allocations: 51.66 kB / 1.094 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2915, allocations: 4 kB / 1.094 GB, free: 0.9922 MB / 0.8419 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.0002325/0.2917, allocations: 270.8 kB / 1.094 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.2918, allocations: 23.72 kB / 1.094 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.2919, allocations: 34.94 kB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2919, allocations: 0 / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2919, allocations: 0 / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2919, allocations: 0 / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.2923, allocations: 353.2 kB / 1.094 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2923, allocations: 0 / 1.094 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.2924, allocations: 31.97 kB / 1.094 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2924, allocations: 0 / 1.094 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2925, allocations: 7.938 kB / 1.094 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2925, allocations: 0 / 1.094 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2925, allocations: 0 / 1.094 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.2935, allocations: 0.6288 MB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.2936, allocations: 108.7 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.2936, allocations: 8 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2938, allocations: 27.95 kB / 1.095 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.294, allocations: 27.97 kB / 1.095 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.294, allocations: 11.94 kB / 1.095 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002865/0.2943, allocations: 275 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2943, allocations: 0 / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003911/0.2947, allocations: 104 kB / 1.095 GB, free: 14.97 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.0002764/0.295, allocations: 151.2 kB / 1.096 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.2962, allocations: 0.8509 MB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2962, allocations: 0 / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.2967, allocations: 378 kB / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.2972, allocations: 80.7 kB / 1.097 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2982, allocations: 0.7255 MB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.2986, allocations: 0.787 MB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.2987, allocations: 17.95 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.2987, allocations: 23.44 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 2.054e-06/0.2988, allocations: 0 / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.009923/0.3087, allocations: 5.661 MB / 1.104 GB, free: 6.234 MB / 0.8575 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=400 -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