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.001952/0.001952, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002485/0.002485, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.641/1.641, allocations: 230.6 MB / 256 MB, free: 7.809 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.449/3.449, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.002134/0.002134, allocations: 72.88 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4648, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003981/0.4688, allocations: 2.038 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.4709, allocations: 1.145 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.471, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.4714, allocations: 111.3 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.4715, allocations: 51.56 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.4723, allocations: 259.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.4727, allocations: 303.2 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.4729, allocations: 61.19 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.473, allocations: 111.7 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.4732, allocations: 123.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.4733, allocations: 28 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.4737, allocations: 235.7 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4738, allocations: 95.67 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.474, allocations: 115.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.4746, allocations: 0.5605 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4746, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4747, allocations: 4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.4747, allocations: 4 kB / 1.331 GB, free: 12.64 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.00128/0.4759, allocations: 0.7408 MB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.476, allocations: 12.03 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.4761, allocations: 32.75 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.4765, allocations: 266.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4765, allocations: 16.66 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.4766, allocations: 20.38 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.4773, allocations: 380.9 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4773, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.4773, allocations: 8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4773, allocations: 4 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.4781, allocations: 365.4 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4791, allocations: 0.5239 MB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.4797, allocations: 323.6 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.4802, allocations: 273.8 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.4802, allocations: 0 / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4803, allocations: 34.56 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.4803, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001561/0.4818, allocations: 0.8482 MB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.4819, allocations: 136.5 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.4823, allocations: 356.5 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4824, allocations: 29.64 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4825, allocations: 164.6 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.4826, allocations: 55.53 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.4827, allocations: 45.7 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4828, allocations: 342.8 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.4834, allocations: 418.1 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.484, allocations: 422.9 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.4851, allocations: 0.6982 MB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4851, allocations: 3.938 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001326/0.4864, allocations: 0.9218 MB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.4866, allocations: 182.2 kB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4866, allocations: 4 kB / 1.338 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4866, allocations: 112 / 1.338 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4868, allocations: 35.91 kB / 1.338 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4868, allocations: 0 / 1.338 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.487, allocations: 47.8 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.487, allocations: 16 kB / 1.338 GB, free: 4.402 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.0002935/0.4873, allocations: 259.3 kB / 1.338 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.4874, allocations: 23.86 kB / 1.338 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.4874, allocations: 29.95 kB / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4874, allocations: 0 / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4874, allocations: 0 / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4874, allocations: 0 / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.4878, allocations: 241.1 kB / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4878, allocations: 0 / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.4879, allocations: 31.97 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4879, allocations: 4 kB / 1.339 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.488, allocations: 7.984 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.488, allocations: 0 / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.488, allocations: 0 / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4891, allocations: 0.7121 MB / 1.339 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.4892, allocations: 35.78 kB / 1.339 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.4892, allocations: 8 kB / 1.339 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.4894, allocations: 23.97 kB / 1.339 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.4896, allocations: 27.97 kB / 1.339 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.4896, allocations: 11.98 kB / 1.339 GB, free: 2.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002975/0.4899, allocations: 247 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4899, allocations: 0 / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004811/0.4904, allocations: 111.8 kB / 1.34 GB, free: 2.539 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.0003162/0.4907, allocations: 160.4 kB / 1.34 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.4922, allocations: 1.085 MB / 1.341 GB, free: 1.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4922, allocations: 0 / 1.341 GB, free: 1.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.4928, allocations: 463.1 kB / 1.341 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.4933, allocations: 70.67 kB / 1.342 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.4945, allocations: 0.7466 MB / 1.342 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4948, allocations: 173.8 kB / 1.342 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.692e-05/0.4949, allocations: 25.62 kB / 1.342 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.4949, allocations: 19.44 kB / 1.342 GB, free: 15.55 MB / 1.045 GB Notification: Performance of SimCode: time 4.81e-07/0.4949, allocations: 0 / 1.342 GB, free: 15.55 MB / 1.045 GB Notification: Performance of Templates: time 0.01292/0.5079, allocations: 6.543 MB / 1.349 GB, free: 9.113 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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: 10.478102276101708]