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.001746/0.001746, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002335/0.002335, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8 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.159/3.159, allocations: 0.49 GB / 0.7958 GB, free: 33.4 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.002105/0.002105, allocations: 70.3 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003802/0.3572, allocations: 2.145 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.3593, allocations: 1.231 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3594, allocations: 7.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.3598, allocations: 111.3 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.36, allocations: 51.56 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.3608, allocations: 268.5 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.3612, allocations: 299.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.3613, allocations: 67.45 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3615, allocations: 111.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.3617, allocations: 127.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.3617, allocations: 32 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.3622, allocations: 247.7 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3623, allocations: 99.61 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3624, allocations: 151.2 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.3631, allocations: 0.5566 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3631, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3631, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3631, allocations: 3.938 kB / 1.332 GB, free: 11.95 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.001229/0.3643, allocations: 0.7447 MB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3644, allocations: 8.031 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.3644, allocations: 36.69 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.3649, allocations: 270.7 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3649, allocations: 16.64 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.3649, allocations: 20.38 kB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.3656, allocations: 291.8 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3656, allocations: 4 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3656, allocations: 8 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3656, allocations: 4 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.3663, allocations: 272.3 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3673, allocations: 0.6363 MB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.3679, allocations: 222.6 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.3683, allocations: 191.6 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3683, allocations: 0 / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3683, allocations: 30.56 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.3683, allocations: 0 / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001376/0.3697, allocations: 0.6741 MB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.3698, allocations: 136.5 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.3702, allocations: 380.5 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3702, allocations: 29.7 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3704, allocations: 168.4 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.3704, allocations: 51.69 kB / 1.337 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.3705, allocations: 49.64 kB / 1.337 GB, free: 7.504 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3707, allocations: 346.7 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.3712, allocations: 235.9 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.3716, allocations: 240.7 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3726, allocations: 0.6816 MB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3726, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00112/0.3737, allocations: 0.7276 MB / 1.339 GB, free: 5.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.3739, allocations: 186.2 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3739, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3739, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3741, allocations: 27.97 kB / 1.339 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3741, allocations: 4 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3743, allocations: 51.8 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3743, allocations: 11.98 kB / 1.339 GB, free: 4.871 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.0002531/0.3746, allocations: 259.4 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.3746, allocations: 31.77 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.3747, allocations: 34.81 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3747, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3747, allocations: 7.938 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3747, allocations: 0 / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.3751, allocations: 316.4 kB / 1.34 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3751, allocations: 0 / 1.34 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3752, allocations: 31.97 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3752, allocations: 0 / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3753, allocations: 4 kB / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3753, allocations: 0 / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3753, allocations: 0 / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.3763, allocations: 0.6329 MB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.3763, allocations: 31.75 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3764, allocations: 4 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3766, allocations: 39.89 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3767, allocations: 27.95 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3767, allocations: 11.98 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003046/0.377, allocations: 275 kB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.377, allocations: 0 / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004344/0.3775, allocations: 107.8 kB / 1.341 GB, free: 2.969 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.000297/0.3778, allocations: 151.2 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.379, allocations: 0.8125 MB / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.379, allocations: 4 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.3795, allocations: 362.3 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.38, allocations: 81.06 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3811, allocations: 0.6997 MB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.3816, allocations: 0.7792 MB / 1.344 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.3817, allocations: 23.44 kB / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/0.3817, allocations: 3.938 kB / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of Templates: time 0.008452/0.3901, allocations: 5.06 MB / 1.349 GB, free: 10.88 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 -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: 11.82792835100554]