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.0007943/0.0007943, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001849, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001095/0.001095, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002555, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8883/0.8883, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07682/0.9652, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.746/1.746, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.409/2.155, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 4 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.238e-06/1.134e-05, allocations: 3.031 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.0021/0.002111, allocations: 2.155 MB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003275, allocations: 1.201 MB / 0.733 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.003348, allocations: 4 kB / 0.733 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.003588, allocations: 108.2 kB / 0.7331 GB, free: 0.957 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.003658, allocations: 57.77 kB / 0.7331 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.004034, allocations: 245.7 kB / 0.7334 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.004268, allocations: 299.2 kB / 0.7336 GB, free: 380 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.00437, allocations: 70.12 kB / 0.7337 GB, free: 308 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.004516, allocations: 188.1 kB / 0.7339 GB, free: 120 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.004628, allocations: 100.3 kB / 0.734 GB, free: 20 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.004669, allocations: 33.45 kB / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.004945, allocations: 267.5 kB / 0.7343 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.005012, allocations: 79.78 kB / 0.7343 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.00508, allocations: 76.94 kB / 0.7344 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.005426, allocations: 382.8 kB / 0.7348 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.005436, allocations: 4 kB / 0.7348 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005437, allocations: 4.438 kB / 0.7348 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.005446, allocations: 1.594 kB / 0.7348 GB, free: 15.19 MB / 0.7136 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.0006563/0.006103, allocations: 0.7431 MB / 0.7355 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.006131, allocations: 13.62 kB / 0.7355 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.006181, allocations: 32.91 kB / 0.7356 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.006364, allocations: 209.8 kB / 0.7358 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.006376, allocations: 16.66 kB / 0.7358 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.006396, allocations: 17.03 kB / 0.7358 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.00664, allocations: 286.6 kB / 0.7361 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.006647, allocations: 192 / 0.7361 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.006659, allocations: 4.375 kB / 0.7361 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.006666, allocations: 7.938 kB / 0.7361 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.006783, allocations: 175.2 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.007188, allocations: 380.6 kB / 0.7366 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.007366, allocations: 183.6 kB / 0.7368 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.007461, allocations: 170.6 kB / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.00747, allocations: 0 / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.007491, allocations: 47.61 kB / 0.737 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 9.61e-07/0.007492, allocations: 0 / 0.737 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003398/0.007832, allocations: 0.519 MB / 0.7375 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.007854, allocations: 52.38 kB / 0.7376 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.008012, allocations: 267 kB / 0.7378 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008028, allocations: 30.95 kB / 0.7378 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.008084, allocations: 149 kB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.008113, allocations: 47.62 kB / 0.738 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.008162, allocations: 37.69 kB / 0.7381 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.008243, allocations: 347.6 kB / 0.7384 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.008376, allocations: 257 kB / 0.7386 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.008502, allocations: 254.7 kB / 0.7389 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.008728, allocations: 447.1 kB / 0.7393 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008729, allocations: 0 / 0.7393 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003/0.009029, allocations: 0.5643 MB / 0.7399 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.009097, allocations: 175.1 kB / 0.74 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009102, allocations: 3.938 kB / 0.74 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.009111, allocations: 4 kB / 0.74 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.009179, allocations: 25.2 kB / 0.7401 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.009185, allocations: 8.078 kB / 0.7401 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.009251, allocations: 40.41 kB / 0.7401 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.009264, allocations: 4.75 kB / 0.7401 GB, free: 9.203 MB / 0.7136 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 9.899e-05/0.009363, allocations: 210.5 kB / 0.7403 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.009394, allocations: 23.98 kB / 0.7403 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.009422, allocations: 31.89 kB / 0.7404 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009424, allocations: 4 kB / 0.7404 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.009425, allocations: 0 / 0.7404 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.009428, allocations: 0 / 0.7404 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.009562, allocations: 161.6 kB / 0.7405 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.009563, allocations: 0 / 0.7405 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.009612, allocations: 25.33 kB / 0.7405 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.009634, allocations: 23.86 kB / 0.7406 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.009635, allocations: 0 / 0.7406 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.009645, allocations: 5.25 kB / 0.7406 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.009647, allocations: 11.86 kB / 0.7406 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009648, allocations: 0 / 0.7406 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.009909, allocations: 485.6 kB / 0.741 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.009932, allocations: 4.5 kB / 0.741 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.01, allocations: 17.45 kB / 0.7411 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.01006, allocations: 39.89 kB / 0.7411 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01007, allocations: 4 kB / 0.7411 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.01014, allocations: 99.88 kB / 0.7412 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01014, allocations: 0 / 0.7412 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002059/0.01035, allocations: 111.8 kB / 0.7413 GB, free: 7.875 MB / 0.7136 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.0001681/0.01051, allocations: 156.2 kB / 0.7415 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.01091, allocations: 0.7973 MB / 0.7422 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.01091, allocations: 7.984 kB / 0.7422 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.01108, allocations: 362.9 kB / 0.7426 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.01147, allocations: 0.7141 MB / 0.7433 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.01261, allocations: 0.6425 MB / 0.7439 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.01267, allocations: 104 kB / 0.744 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.01271, allocations: 16.7 kB / 0.744 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.01289, allocations: 127.3 kB / 0.7442 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.01289, allocations: 0 / 0.7442 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.007162/0.02005, allocations: 6.982 MB / 0.751 GB, free: 13.84 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.484913209453225]