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.001328/0.001328, allocations: 110.2 kB / 19.69 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.001817/0.001817, allocations: 216.1 kB / 23.01 MB, free: 4.566 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.016 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 2.811/2.811, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.002077/0.002077, allocations: 65.08 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 169.9 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003894/0.3687, allocations: 2.154 MB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3708, allocations: 1.219 MB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3709, allocations: 4 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.3713, allocations: 115.3 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.3715, allocations: 55.58 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.3723, allocations: 270.6 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.3727, allocations: 303.3 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.3729, allocations: 63.45 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.373, allocations: 115.6 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.3732, allocations: 127.5 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.3733, allocations: 32 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.3737, allocations: 259.7 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3738, allocations: 87.69 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.374, allocations: 151.2 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.3747, allocations: 0.5605 MB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3747, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3747, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3747, allocations: 4 kB / 1.29 GB, free: 5.656 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.001311/0.376, allocations: 0.7446 MB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.376, allocations: 12.03 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.854e-05/0.3761, allocations: 32.75 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.3765, allocations: 266.7 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3766, allocations: 20.66 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.3766, allocations: 16.38 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.3772, allocations: 299 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3772, allocations: 0 / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3772, allocations: 11.94 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3772, allocations: 4 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.3779, allocations: 268.4 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3789, allocations: 0.6365 MB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.3795, allocations: 230.5 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.3798, allocations: 180.7 kB / 1.293 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3799, allocations: 8 kB / 1.293 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3799, allocations: 34.56 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3799, allocations: 0 / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001341/0.3812, allocations: 0.6664 MB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.3813, allocations: 140.4 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.3818, allocations: 376.6 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3818, allocations: 37.64 kB / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3819, allocations: 164.4 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.382, allocations: 43.61 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.3821, allocations: 57.69 kB / 1.294 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3822, allocations: 346.8 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.3827, allocations: 231.9 kB / 1.295 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.3831, allocations: 239.8 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3841, allocations: 0.6863 MB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3842, allocations: 0 / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001116/0.3853, allocations: 0.7259 MB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3854, allocations: 186.1 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3854, allocations: 0 / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3854, allocations: 0 / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3856, allocations: 31.97 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3856, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3858, allocations: 43.78 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3858, allocations: 12 kB / 1.297 GB, free: 14.58 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.0002573/0.3861, allocations: 258.8 kB / 1.297 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.3862, allocations: 39.75 kB / 1.297 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.134e-05/0.3862, allocations: 34.88 kB / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3862, allocations: 0 / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3862, allocations: 0 / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3862, allocations: 0 / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.3866, allocations: 312.4 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3866, allocations: 3.984 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3868, allocations: 35.91 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3868, allocations: 0 / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3868, allocations: 8 kB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3868, allocations: 0 / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3868, allocations: 0 / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3878, allocations: 0.6258 MB / 1.298 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3879, allocations: 39.73 kB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.388, allocations: 8 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3882, allocations: 23.97 kB / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3883, allocations: 23.97 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3883, allocations: 12 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003053/0.3886, allocations: 275 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3886, allocations: 0 / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004343/0.3891, allocations: 111.8 kB / 1.298 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.0003266/0.3894, allocations: 151.1 kB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.3906, allocations: 0.8181 MB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3906, allocations: 0 / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.3911, allocations: 366 kB / 1.3 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3916, allocations: 79.66 kB / 1.3 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3927, allocations: 0.6904 MB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.3932, allocations: 0.7947 MB / 1.301 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.3932, allocations: 19.44 kB / 1.301 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3932, allocations: 0 / 1.301 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.008422/0.4017, allocations: 5.07 MB / 1.306 GB, free: 4.574 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/jenkins1/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: 12.14317849301733]