Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00123/0.00123, 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.008172/0.008172, allocations: 171 kB / 16.27 MB, free: 6.324 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.526/1.526, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.011/3.011, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 9.062 kB / 0.9123 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002595/0.3069, allocations: 1.794 MB / 1.072 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.309, allocations: 1.204 MB / 1.073 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3091, allocations: 0 / 1.073 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.3095, allocations: 99.55 kB / 1.073 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3097, allocations: 39.7 kB / 1.073 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006823/0.3104, allocations: 209.3 kB / 1.073 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.3107, allocations: 263.2 kB / 1.073 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.3109, allocations: 92.53 kB / 1.074 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.311, allocations: 75.69 kB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3112, allocations: 107.5 kB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.3112, allocations: 12 kB / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.3116, allocations: 191.7 kB / 1.074 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3117, allocations: 87.61 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3118, allocations: 148.9 kB / 1.074 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.3125, allocations: 0.5218 MB / 1.075 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3125, allocations: 0 / 1.075 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3125, allocations: 0 / 1.075 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3125, allocations: 4 kB / 1.075 GB, free: 6.516 MB / 0.8262 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.001229/0.3137, allocations: 0.766 MB / 1.075 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3138, allocations: 12.03 kB / 1.075 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.282e-05/0.3139, allocations: 32.56 kB / 1.075 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.3143, allocations: 312.5 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.3144, allocations: 12.66 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3144, allocations: 24.36 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.3151, allocations: 311.2 kB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3151, allocations: 3.938 kB / 1.076 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3152, allocations: 11.98 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3152, allocations: 4 kB / 1.076 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.316, allocations: 300.4 kB / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3171, allocations: 0.6761 MB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.3177, allocations: 246.6 kB / 1.077 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.3182, allocations: 208.7 kB / 1.077 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3182, allocations: 7.984 kB / 1.077 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3183, allocations: 34.56 kB / 1.077 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.3183, allocations: 0 / 1.077 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001564/0.3198, allocations: 0.7255 MB / 1.078 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3199, allocations: 136.5 kB / 1.078 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.3204, allocations: 388.3 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3205, allocations: 29.7 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3206, allocations: 168.3 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.3207, allocations: 39.45 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.3207, allocations: 33.7 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3209, allocations: 342.8 kB / 1.079 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.3214, allocations: 259.8 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.3219, allocations: 246.3 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.3231, allocations: 0.7109 MB / 1.08 GB, free: 200 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3231, allocations: 3.938 kB / 1.08 GB, free: 196 kB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001316/0.3244, allocations: 0.7673 MB / 1.081 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.3246, allocations: 186.2 kB / 1.081 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3246, allocations: 0 / 1.081 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3246, allocations: 0 / 1.081 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3248, allocations: 35.97 kB / 1.081 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3248, allocations: 3.984 kB / 1.081 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3251, allocations: 55.72 kB / 1.081 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.3251, allocations: 15.94 kB / 1.081 GB, free: 15.05 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.0002701/0.3254, allocations: 266.7 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.3255, allocations: 31.62 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.3255, allocations: 30.94 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3255, allocations: 4 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3256, allocations: 0 / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3256, allocations: 0 / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.326, allocations: 345.3 kB / 1.082 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.326, allocations: 0 / 1.082 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.3262, allocations: 35.97 kB / 1.082 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3262, allocations: 4 kB / 1.082 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3262, allocations: 15.94 kB / 1.082 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3263, allocations: 4 kB / 1.082 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3263, allocations: 0 / 1.082 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3274, allocations: 0.6573 MB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.3275, allocations: 112.7 kB / 1.083 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.3276, allocations: 8 kB / 1.083 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3278, allocations: 35.95 kB / 1.083 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3279, allocations: 27.97 kB / 1.083 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.328, allocations: 12 kB / 1.083 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003186/0.3283, allocations: 271 kB / 1.083 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3283, allocations: 0 / 1.083 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004307/0.3287, allocations: 99.98 kB / 1.083 GB, free: 12.99 MB / 0.8419 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.0003056/0.3291, allocations: 151.2 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.3305, allocations: 0.8727 MB / 1.084 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3305, allocations: 0 / 1.084 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.3311, allocations: 398 kB / 1.085 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3316, allocations: 73.25 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3327, allocations: 0.738 MB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.3332, allocations: 0.787 MB / 1.086 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.413e-05/0.3333, allocations: 21.95 kB / 1.086 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.3334, allocations: 15.44 kB / 1.086 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3334, allocations: 0 / 1.086 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.01116/0.3445, allocations: 5.425 MB / 1.092 GB, free: 4.414 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches