Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0009747/0.0009747, allocations: 91.67 kB / 20.95 MB, free: 3.305 MB / 18.57 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.003597/0.003597, allocations: 166.4 kB / 24.38 MB, free: 8.473 MB / 18.57 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.9226/0.9226, allocations: 177.2 MB / 204.8 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.839/1.839, allocations: 389.6 MB / 0.6356 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0.7656 kB / 0.7756 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.788e-05, allocations: 2.875 kB / 0.7756 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002735/0.002763, allocations: 1.31 MB / 0.7769 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.005142, allocations: 1.619 MB / 0.7784 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.005308, allocations: 0.6562 kB / 0.7784 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.005476, allocations: 41.16 kB / 0.7785 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.005657, allocations: 82.22 kB / 0.7786 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.006706, allocations: 484 kB / 0.779 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009782/0.007684, allocations: 0.6574 MB / 0.7797 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.007953, allocations: 123.9 kB / 0.7798 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.008444, allocations: 392.4 kB / 0.7802 GB, free: 476 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.008722, allocations: 169.3 kB / 0.7803 GB, free: 308 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.00881, allocations: 55.94 kB / 0.7804 GB, free: 252 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.008951, allocations: 60.62 kB / 0.7804 GB, free: 192 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.009016, allocations: 72.34 kB / 0.7805 GB, free: 120 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.009156, allocations: 167.6 kB / 0.7807 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.009536, allocations: 433.9 kB / 0.7811 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.009539, allocations: 0 / 0.7811 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.00954, allocations: 0 / 0.7811 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.009548, allocations: 0 / 0.7811 GB, free: 15.53 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007145/0.01026, allocations: 0.8189 MB / 0.7819 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.0103, allocations: 9.344 kB / 0.7819 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.01037, allocations: 68.28 kB / 0.7819 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.01064, allocations: 257.6 kB / 0.7822 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.01067, allocations: 32.86 kB / 0.7822 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.01072, allocations: 40.38 kB / 0.7823 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.01102, allocations: 353.8 kB / 0.7826 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01103, allocations: 4.172 kB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.01104, allocations: 12.38 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01105, allocations: 8.375 kB / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.01118, allocations: 220.7 kB / 0.7828 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.01186, allocations: 0.5034 MB / 0.7833 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.01206, allocations: 280.5 kB / 0.7836 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.01219, allocations: 243 kB / 0.7838 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.0122, allocations: 8 kB / 0.7838 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.0124, allocations: 333.7 kB / 0.7841 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.01241, allocations: 0 / 0.7841 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0004358/0.01284, allocations: 0.688 MB / 0.7848 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.01291, allocations: 200.3 kB / 0.785 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01306, allocations: 270.8 kB / 0.7853 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.01309, allocations: 46.19 kB / 0.7853 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.01317, allocations: 141.9 kB / 0.7854 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.01323, allocations: 139.8 kB / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.01336, allocations: 126.1 kB / 0.7857 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.01344, allocations: 346.7 kB / 0.786 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.01395, allocations: 376.8 kB / 0.7864 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.01419, allocations: 469.7 kB / 0.7868 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.01455, allocations: 0.6736 MB / 0.7875 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.01456, allocations: 4.812 kB / 0.7875 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000541/0.0151, allocations: 0.9002 MB / 0.7884 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.0152, allocations: 272.2 kB / 0.7886 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01521, allocations: 0 / 0.7886 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01522, allocations: 8 kB / 0.7886 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01537, allocations: 60.91 kB / 0.7887 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.01538, allocations: 15.92 kB / 0.7887 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.01563, allocations: 106.7 kB / 0.7888 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.0157, allocations: 59.92 kB / 0.7889 GB, free: 6.641 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.000169/0.01587, allocations: 283.6 kB / 0.7891 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.01591, allocations: 44.67 kB / 0.7892 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.01595, allocations: 39.44 kB / 0.7892 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01596, allocations: 8.672 kB / 0.7892 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01596, allocations: 7.875 kB / 0.7892 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01597, allocations: 0.6875 kB / 0.7892 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.01659, allocations: 0.8699 MB / 0.7901 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.0166, allocations: 0 / 0.7901 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.01671, allocations: 63.84 kB / 0.7902 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.01672, allocations: 9.469 kB / 0.7902 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01673, allocations: 11.98 kB / 0.7902 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01673, allocations: 0 / 0.7902 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01674, allocations: 4 kB / 0.7902 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.01706, allocations: 0.601 MB / 0.7908 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.01709, allocations: 39.64 kB / 0.7908 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01711, allocations: 11.98 kB / 0.7908 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.0172, allocations: 21.64 kB / 0.7908 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.01726, allocations: 35.94 kB / 0.7909 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.0173, allocations: 47.88 kB / 0.7909 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.01736, allocations: 92.62 kB / 0.791 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01736, allocations: 0.625 kB / 0.791 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002358/0.0176, allocations: 111.9 kB / 0.7911 GB, free: 4.156 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001425/0.01774, allocations: 99.59 kB / 0.7912 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.01835, allocations: 1.185 MB / 0.7924 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.01836, allocations: 4 kB / 0.7924 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.01885, allocations: 0.513 MB / 0.7929 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.01913, allocations: 90.33 kB / 0.793 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.01987, allocations: 0.8234 MB / 0.7938 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.01993, allocations: 101.1 kB / 0.7939 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.02002, allocations: 41.5 kB / 0.7939 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.02028, allocations: 185.9 kB / 0.7941 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.02028, allocations: 0 / 0.7941 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of Templates: time 0.009271/0.02955, allocations: 7.347 MB / 0.8012 GB, free: 9.691 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0325936591252685]