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.001655/0.001655, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002131/0.002131, allocations: 212.1 kB / 23.04 MB, free: 4.863 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.582/1.582, 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.252/3.252, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.00201/0.00201, allocations: 68.42 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4538, 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.00378/0.4576, allocations: 2.037 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.4597, allocations: 1.149 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4598, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.4603, allocations: 111.3 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4604, allocations: 51.52 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.4612, allocations: 259.5 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.4616, allocations: 303.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.4618, allocations: 63.45 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.4619, allocations: 107.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.4621, allocations: 123.4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.4622, allocations: 32 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.4626, allocations: 235.7 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.4627, allocations: 91.73 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.4628, allocations: 119.4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.4635, allocations: 0.5643 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4635, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4635, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4635, allocations: 0 / 1.332 GB, free: 11.72 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.00125/0.4648, allocations: 0.7525 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4648, allocations: 8.031 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.4649, allocations: 32.75 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4653, allocations: 266.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4653, allocations: 12.66 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.4654, allocations: 20.31 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.466, allocations: 384.9 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.466, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.4661, allocations: 12 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4661, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.4668, allocations: 361.5 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.4677, allocations: 0.5278 MB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.4683, allocations: 319.5 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.4688, allocations: 273.8 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.4688, allocations: 7.938 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.4688, allocations: 34.56 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4688, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001443/0.4703, allocations: 0.8457 MB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.4703, allocations: 140.5 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.4708, allocations: 352.5 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.4708, allocations: 29.7 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4709, allocations: 164.6 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.471, allocations: 51.52 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.4711, allocations: 49.7 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4712, allocations: 342.8 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.4718, allocations: 414.1 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.4723, allocations: 435.6 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.4733, allocations: 0.6853 MB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4733, allocations: 3.938 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001227/0.4745, allocations: 0.9156 MB / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.4747, allocations: 186.2 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4747, allocations: 0 / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4747, allocations: 0 / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4749, allocations: 32.08 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4749, allocations: 7.875 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4751, allocations: 47.8 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4751, allocations: 12 kB / 1.34 GB, free: 3.473 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.0002472/0.4753, allocations: 259.4 kB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.4754, allocations: 31.8 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.4755, allocations: 25.95 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4755, allocations: 3.984 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4755, allocations: 4 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4755, allocations: 4 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.4758, allocations: 241.1 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4758, allocations: 0 / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4759, allocations: 27.97 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4759, allocations: 4 kB / 1.34 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.476, allocations: 4 kB / 1.34 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.476, allocations: 0 / 1.34 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.476, allocations: 3.938 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.477, allocations: 0.7144 MB / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.4771, allocations: 35.78 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.4771, allocations: 8 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4773, allocations: 23.97 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4774, allocations: 27.95 kB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.4774, allocations: 15.98 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002647/0.4777, allocations: 251 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4777, allocations: 0 / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005043/0.4782, allocations: 107.8 kB / 1.341 GB, free: 1.594 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.0002941/0.4785, allocations: 163 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.4799, allocations: 1.085 MB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4799, allocations: 0 / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.4805, allocations: 455.1 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.4809, allocations: 73.81 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.4822, allocations: 0.7751 MB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.4824, allocations: 181.8 kB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.4824, allocations: 15.44 kB / 1.344 GB, free: 14.6 MB / 1.045 GB Notification: Performance of SimCode: time 6.92e-07/0.4824, allocations: 0 / 1.344 GB, free: 14.6 MB / 1.045 GB Notification: Performance of Templates: time 0.008326/0.4908, allocations: 5.086 MB / 1.349 GB, free: 9.559 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: 13.01366289705038]