Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001617/0.001617, allocations: 102.1 kB / 19.7 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.001797/0.001797, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.148/3.148, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001984/0.001984, allocations: 76.64 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003686/0.3654, allocations: 2.157 MB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3679, allocations: 1.227 MB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3681, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.3686, allocations: 123.3 kB / 1.358 GB, free: 4.395 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.3688, allocations: 47.58 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3698, allocations: 256.8 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.3702, allocations: 307.2 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.3704, allocations: 71.44 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3705, allocations: 103.7 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3708, allocations: 131.4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.3708, allocations: 28 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.3713, allocations: 255.7 kB / 1.359 GB, free: 3.219 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3714, allocations: 87.69 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3716, allocations: 159.1 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.3724, allocations: 0.5527 MB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3724, allocations: 0 / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3724, allocations: 4 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.3724, allocations: 0 / 1.359 GB, free: 2.418 MB / 1.045 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.001376/0.3738, allocations: 0.7564 MB / 1.36 GB, free: 1.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3738, allocations: 8.031 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.3739, allocations: 36.75 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.3744, allocations: 270.7 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3744, allocations: 12.66 kB / 1.361 GB, free: 1.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.3744, allocations: 19.94 kB / 1.361 GB, free: 1.227 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.3751, allocations: 290.9 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3751, allocations: 0 / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.3751, allocations: 8 kB / 1.361 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3751, allocations: 0 / 1.361 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.3758, allocations: 280.3 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3768, allocations: 0.6327 MB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.3774, allocations: 218.6 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.3778, allocations: 188.7 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3778, allocations: 0 / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3778, allocations: 34.56 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.3778, allocations: 0 / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001362/0.3792, allocations: 0.6729 MB / 1.363 GB, free: 14.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.3793, allocations: 140.5 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.3797, allocations: 376.5 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3797, allocations: 25.7 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3798, allocations: 168.3 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.3799, allocations: 47.62 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.38, allocations: 49.7 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3802, allocations: 346.7 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.3806, allocations: 240 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.381, allocations: 243.8 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.382, allocations: 0.6783 MB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.382, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001101/0.3831, allocations: 0.7352 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.3832, allocations: 186.2 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3832, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3832, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3834, allocations: 27.97 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3834, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3836, allocations: 51.73 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.3836, allocations: 15.94 kB / 1.366 GB, free: 11.34 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.0002316/0.3838, allocations: 255.5 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.3839, allocations: 39.69 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.384, allocations: 26.88 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.384, allocations: 4 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.384, allocations: 3.984 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.384, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3843, allocations: 320.5 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3843, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3845, allocations: 35.97 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3845, allocations: 3.984 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3845, allocations: 7.984 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3845, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3845, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.3855, allocations: 0.6174 MB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.3855, allocations: 47.69 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3856, allocations: 11.88 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3858, allocations: 27.97 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3859, allocations: 23.97 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3859, allocations: 8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000296/0.3862, allocations: 279 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3862, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004285/0.3867, allocations: 103.9 kB / 1.368 GB, free: 9.441 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.0002846/0.3869, allocations: 151.1 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.3881, allocations: 0.8165 MB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3881, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.3886, allocations: 366.1 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.3891, allocations: 69.33 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3902, allocations: 0.6881 MB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3907, allocations: 0.787 MB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.3907, allocations: 19.44 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3907, allocations: 0 / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of Templates: time 0.008254/0.399, allocations: 5.079 MB / 1.376 GB, free: 1.348 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.193932067981223]