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.001683/0.001683, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001541/0.001541, allocations: 212.9 kB / 22.99 MB, free: 4.957 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.247/3.247, 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.002108/0.002108, allocations: 76.36 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3797, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003724/0.3834, allocations: 2.043 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3855, allocations: 1.149 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3856, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.386, allocations: 103.3 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3861, allocations: 55.56 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.3869, allocations: 270.9 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.3873, allocations: 311.1 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3875, allocations: 63.47 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3876, allocations: 111.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.3878, allocations: 131.4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.3878, allocations: 32 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.3882, allocations: 247.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.3883, allocations: 83.73 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.3885, allocations: 127.3 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.3892, allocations: 0.5605 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3892, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3892, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3892, allocations: 4 kB / 1.332 GB, free: 11.68 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.001324/0.3905, allocations: 0.7447 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3906, allocations: 8.031 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.3906, allocations: 36.75 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.3911, allocations: 270.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.3911, allocations: 12.66 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3912, allocations: 20.38 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.3919, allocations: 381 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3919, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3919, allocations: 8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3919, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007291/0.3926, allocations: 369.4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009342/0.3936, allocations: 0.52 MB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.3942, allocations: 323.5 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.3947, allocations: 273.8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3947, allocations: 4 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3947, allocations: 30.56 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3947, allocations: 0 / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001559/0.3963, allocations: 0.8482 MB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3964, allocations: 140.5 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.3968, allocations: 352.5 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3968, allocations: 29.7 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.397, allocations: 168.5 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.397, allocations: 51.53 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.3971, allocations: 49.7 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3973, allocations: 338.8 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.3979, allocations: 414.1 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.3985, allocations: 426 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3995, allocations: 0.6953 MB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.3995, allocations: 3.938 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001298/0.4008, allocations: 0.9194 MB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.401, allocations: 190.1 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.401, allocations: 0 / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.401, allocations: 0 / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4012, allocations: 31.97 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4012, allocations: 4.109 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.4014, allocations: 47.73 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.4014, allocations: 8 kB / 1.34 GB, free: 3.445 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.0002495/0.4017, allocations: 267.4 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.4017, allocations: 27.84 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.4018, allocations: 21.97 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4018, allocations: 0 / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4018, allocations: 7.984 kB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4018, allocations: 3.938 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.4021, allocations: 233.1 kB / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4021, allocations: 0 / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.4023, allocations: 31.97 kB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4023, allocations: 4 kB / 1.34 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4023, allocations: 4 kB / 1.34 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4023, allocations: 3.984 kB / 1.34 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4023, allocations: 0 / 1.34 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4034, allocations: 0.7108 MB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.4035, allocations: 35.78 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.4035, allocations: 12 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.4037, allocations: 23.97 kB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4039, allocations: 31.89 kB / 1.341 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.4039, allocations: 8 kB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002719/0.4042, allocations: 251 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4042, allocations: 0 / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004314/0.4046, allocations: 107.8 kB / 1.341 GB, free: 1.574 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.0003083/0.4049, allocations: 163 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.4063, allocations: 1.089 MB / 1.343 GB, free: 192 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4063, allocations: 0 / 1.343 GB, free: 192 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.4069, allocations: 455.2 kB / 1.343 GB, free: 15.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.4074, allocations: 67.41 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4086, allocations: 0.7461 MB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.4088, allocations: 177.8 kB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.715e-05/0.4089, allocations: 25.62 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.4089, allocations: 15.44 kB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.4089, allocations: 0 / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of Templates: time 0.01224/0.4212, allocations: 6.573 MB / 1.35 GB, free: 8.125 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 gbode -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.127606846988783]