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.00162/0.00162, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002016/0.002016, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.96/2.96, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.002049/0.002049, allocations: 75.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003041/1.078, allocations: 2.121 MB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001602/1.079, allocations: 1.219 MB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/1.079, allocations: 2.719 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/1.08, allocations: 121.5 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/1.08, allocations: 50.72 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/1.08, allocations: 252.8 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/1.081, allocations: 298.5 kB / 1.326 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/1.081, allocations: 69.84 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/1.081, allocations: 116.6 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/1.081, allocations: 126 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/1.081, allocations: 31.66 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/1.081, allocations: 240.2 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/1.081, allocations: 86.72 kB / 1.327 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/1.082, allocations: 155 kB / 1.327 GB, free: 22.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/1.082, allocations: 0.5556 MB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.082, allocations: 0 / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/1.082, allocations: 1.125 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.082, allocations: 0 / 1.327 GB, free: 21.83 MB / 1.061 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.001097/1.083, allocations: 0.8215 MB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.083, allocations: 9.719 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/1.083, allocations: 37.56 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/1.084, allocations: 333.5 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/1.084, allocations: 11.97 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/1.084, allocations: 17 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/1.085, allocations: 295.7 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.085, allocations: 0 / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/1.085, allocations: 7.469 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/1.085, allocations: 3.406 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/1.085, allocations: 272.5 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/1.086, allocations: 0.6678 MB / 1.33 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/1.087, allocations: 231.1 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/1.087, allocations: 184.4 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/1.087, allocations: 4.938 kB / 1.33 GB, free: 19.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/1.087, allocations: 37.33 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/1.088, allocations: 0 / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001459/1.089, allocations: 0.6782 MB / 1.331 GB, free: 19.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.089, allocations: 134.8 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/1.089, allocations: 376.7 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/1.089, allocations: 33.14 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/1.09, allocations: 170.2 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/1.09, allocations: 45.09 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/1.09, allocations: 51.23 kB / 1.332 GB, free: 19.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/1.09, allocations: 344.3 kB / 1.332 GB, free: 18.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/1.09, allocations: 239.3 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/1.091, allocations: 238.2 kB / 1.332 GB, free: 18.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/1.092, allocations: 0.6893 MB / 1.333 GB, free: 18.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.092, allocations: 4 kB / 1.333 GB, free: 18.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001166/1.093, allocations: 0.7298 MB / 1.334 GB, free: 17.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/1.093, allocations: 180.1 kB / 1.334 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.093, allocations: 4 kB / 1.334 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.093, allocations: 1.422 kB / 1.334 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/1.093, allocations: 31.41 kB / 1.334 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.093, allocations: 1.594 kB / 1.334 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/1.093, allocations: 41.48 kB / 1.334 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/1.093, allocations: 7.688 kB / 1.334 GB, free: 17.59 MB / 1.061 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.000207/1.094, allocations: 262.5 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.094, allocations: 30.59 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/1.094, allocations: 32.42 kB / 1.334 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.094, allocations: 1.938 kB / 1.334 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.094, allocations: 0.75 kB / 1.334 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.094, allocations: 5.312 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/1.094, allocations: 345.5 kB / 1.335 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.094, allocations: 1.078 kB / 1.335 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/1.094, allocations: 27.23 kB / 1.335 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.094, allocations: 5.219 kB / 1.335 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/1.095, allocations: 4.562 kB / 1.335 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.095, allocations: 0.5625 kB / 1.335 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.095, allocations: 0.625 kB / 1.335 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.096, allocations: 0.6233 MB / 1.335 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/1.096, allocations: 112.8 kB / 1.335 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/1.096, allocations: 8.922 kB / 1.335 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/1.096, allocations: 25.64 kB / 1.335 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.096, allocations: 32.91 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/1.096, allocations: 10.16 kB / 1.335 GB, free: 16.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002726/1.096, allocations: 271.3 kB / 1.336 GB, free: 16.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.096, allocations: 4 kB / 1.336 GB, free: 16.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004883/1.097, allocations: 103.4 kB / 1.336 GB, free: 16.39 MB / 1.061 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.0002997/1.097, allocations: 163.3 kB / 1.336 GB, free: 16.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.098, allocations: 0.8195 MB / 1.337 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.098, allocations: 1.438 kB / 1.337 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004933/1.099, allocations: 364 kB / 1.337 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/1.099, allocations: 72.94 kB / 1.337 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/1.1, allocations: 0.6927 MB / 1.338 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/1.101, allocations: 0.7872 MB / 1.339 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/1.101, allocations: 18.56 kB / 1.339 GB, free: 14.39 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.101, allocations: 3.938 kB / 1.339 GB, free: 14.38 MB / 1.061 GB Notification: Performance of Templates: time 0.009873/1.111, allocations: 5.062 MB / 1.344 GB, free: 13.86 MB / 1.061 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/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: 12.809348223003326]