Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002158/0.002158, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00249/0.00249, allocations: 211.4 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.603/1.603, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.009/3.009, allocations: 475.9 MB / 0.7699 GB, free: 4.836 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00207/0.00207, allocations: 67.36 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 170 MB / 1.283 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004281/0.4135, allocations: 2.044 MB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.4161, allocations: 1.141 MB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.4163, allocations: 4 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.4169, allocations: 111.3 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.4171, allocations: 51.52 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.4181, allocations: 265.6 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005088/0.4186, allocations: 295.3 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.4188, allocations: 59.47 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.419, allocations: 115.6 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.4192, allocations: 119.4 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.4193, allocations: 32 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.4198, allocations: 239.7 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.4199, allocations: 95.67 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.4201, allocations: 119.4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000935/0.4211, allocations: 0.5566 MB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4211, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.297e-06/0.4211, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.4211, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 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.00166/0.4227, allocations: 0.7447 MB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4228, allocations: 16.03 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.4229, allocations: 36.7 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.4235, allocations: 266.7 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.4235, allocations: 12.66 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.4235, allocations: 16.38 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.4243, allocations: 392 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4243, allocations: 0 / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.4243, allocations: 8 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4243, allocations: 4 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007983/0.4251, allocations: 361.5 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4262, allocations: 0.5241 MB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/0.427, allocations: 315.7 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.4275, allocations: 277.8 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4275, allocations: 0 / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4275, allocations: 38.5 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.4275, allocations: 7.938 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001629/0.4291, allocations: 0.8288 MB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.4293, allocations: 144.5 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.4297, allocations: 360.4 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.4297, allocations: 29.7 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4299, allocations: 164.6 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.43, allocations: 47.58 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4301, allocations: 49.7 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4303, allocations: 342.8 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.4309, allocations: 414.1 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.4315, allocations: 434.1 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.4326, allocations: 0.6912 MB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4326, allocations: 7.938 kB / 1.294 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001409/0.434, allocations: 0.9261 MB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.4342, allocations: 182.2 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4342, allocations: 0 / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.4342, allocations: 4 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.4344, allocations: 27.97 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4344, allocations: 0 / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.4346, allocations: 47.8 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.4347, allocations: 11.94 kB / 1.296 GB, free: 14.56 MB / 0.9981 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.0002939/0.4349, allocations: 266.8 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.435, allocations: 23.86 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.4351, allocations: 25.95 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4351, allocations: 4 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4351, allocations: 0 / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4351, allocations: 3.984 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.4355, allocations: 237.1 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4355, allocations: 3.984 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.4356, allocations: 31.97 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4356, allocations: 0 / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.4356, allocations: 4 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.4357, allocations: 4 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4357, allocations: 0 / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4369, allocations: 0.716 MB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4369, allocations: 31.78 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.437, allocations: 8 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.4372, allocations: 23.97 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4373, allocations: 27.97 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.4373, allocations: 11.98 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003012/0.4377, allocations: 247 kB / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4377, allocations: 4 kB / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004516/0.4381, allocations: 115.8 kB / 1.297 GB, free: 12.68 MB / 0.9981 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.0003535/0.4385, allocations: 151.1 kB / 1.297 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.44, allocations: 1.089 MB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.44, allocations: 4 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.4406, allocations: 459.1 kB / 1.299 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.4411, allocations: 67.22 kB / 1.299 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4425, allocations: 0.7372 MB / 1.3 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.4427, allocations: 181.8 kB / 1.3 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.567e-05/0.4428, allocations: 21.62 kB / 1.3 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.4428, allocations: 15.44 kB / 1.3 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.4428, allocations: 4 kB / 1.3 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of Templates: time 0.01426/0.4571, allocations: 6.532 MB / 1.306 GB, free: 3.297 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.858745092526078]