Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 212.4 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.304/3.304, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.12 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003823/0.3884, allocations: 2.047 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.3905, allocations: 1.145 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3906, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.391, allocations: 107.3 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.3911, allocations: 59.52 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.3919, allocations: 256.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3923, allocations: 303.3 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3925, allocations: 67.45 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3926, allocations: 111.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3928, allocations: 131.4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3928, allocations: 32 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.3932, allocations: 243.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3933, allocations: 95.67 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3935, allocations: 123.4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.3942, allocations: 0.5566 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3942, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3942, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.3943, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 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.001396/0.3956, allocations: 0.7525 MB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3957, allocations: 8.031 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/0.3958, allocations: 32.75 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.3962, allocations: 270.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3962, allocations: 12.66 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.3963, allocations: 16.38 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.397, allocations: 388.9 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.397, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.397, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.397, allocations: 4 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.3978, allocations: 361.5 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.3987, allocations: 0.5278 MB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.3994, allocations: 315.6 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.3998, allocations: 273.8 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3998, allocations: 4 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3999, allocations: 34.5 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3999, allocations: 0 / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001564/0.4014, allocations: 0.8575 MB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.4015, allocations: 132.5 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.4019, allocations: 352.5 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.402, allocations: 33.7 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4021, allocations: 168.5 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.4022, allocations: 47.53 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4023, allocations: 49.7 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4025, allocations: 338.8 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.4031, allocations: 426 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.4036, allocations: 419.8 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4047, allocations: 0.6974 MB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4047, allocations: 7.938 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001319/0.406, allocations: 0.9117 MB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.4061, allocations: 186.2 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4061, allocations: 0 / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4062, allocations: 3.984 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4063, allocations: 31.97 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4063, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.4066, allocations: 51.75 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.4066, allocations: 11.98 kB / 1.34 GB, free: 3.48 MB / 1.029 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.0002518/0.4068, allocations: 259.4 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.4069, allocations: 27.86 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.407, allocations: 25.95 kB / 1.34 GB, free: 3.145 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.407, allocations: 4 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.407, allocations: 0 / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.407, allocations: 4 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.4073, allocations: 245.1 kB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4073, allocations: 0 / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4074, allocations: 27.97 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4075, allocations: 0 / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4075, allocations: 7.938 kB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4075, allocations: 0 / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4075, allocations: 0 / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4086, allocations: 0.7171 MB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.4086, allocations: 31.8 kB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.4087, allocations: 11.98 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4089, allocations: 23.97 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.409, allocations: 35.91 kB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.409, allocations: 4 kB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002793/0.4093, allocations: 255 kB / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4093, allocations: 0 / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000446/0.4098, allocations: 107.8 kB / 1.341 GB, free: 1.605 MB / 1.029 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.0003154/0.4101, allocations: 155.1 kB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.4115, allocations: 1.085 MB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4115, allocations: 4 kB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.4121, allocations: 459 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4126, allocations: 68.56 kB / 1.343 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4138, allocations: 0.7383 MB / 1.344 GB, free: 14.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.414, allocations: 181.8 kB / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.4141, allocations: 17.64 kB / 1.344 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.4141, allocations: 19.44 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4141, allocations: 4 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of Templates: time 0.01289/0.427, allocations: 6.577 MB / 1.35 GB, free: 8.156 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.544798948991229]