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.0009707/0.0009707, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001643/0.001643, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9821/0.9821, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.96/1.96, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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 1.733e-06/1.733e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.247e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002038/0.00205, allocations: 1.307 MB / 0.7765 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.003847, allocations: 1.63 MB / 0.7781 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003954, allocations: 4 kB / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004083, allocations: 33.52 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.004206, allocations: 85.08 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.005015, allocations: 488.2 kB / 0.7787 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.005532, allocations: 0.6565 MB / 0.7793 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.00574, allocations: 120.5 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.006092, allocations: 392.8 kB / 0.7798 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.006289, allocations: 172.5 kB / 0.78 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.006349, allocations: 56.7 kB / 0.78 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.006453, allocations: 59.98 kB / 0.7801 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.006514, allocations: 76.34 kB / 0.7801 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.006645, allocations: 163.7 kB / 0.7803 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.007018, allocations: 431.2 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00702, allocations: 0.625 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.007021, allocations: 0 / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.007026, allocations: 0.9062 kB / 0.7807 GB, free: 15.79 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.0007522/0.007779, allocations: 0.8204 MB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.007811, allocations: 9.344 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.007887, allocations: 60.88 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.008163, allocations: 254.2 kB / 0.7818 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.008192, allocations: 37.38 kB / 0.7819 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.008238, allocations: 40.38 kB / 0.7819 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.008538, allocations: 351.5 kB / 0.7822 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.008548, allocations: 192 / 0.7822 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.008564, allocations: 12.36 kB / 0.7823 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.008573, allocations: 9.219 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.008699, allocations: 211.9 kB / 0.7825 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.009678, allocations: 0.5194 MB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.009859, allocations: 267.1 kB / 0.7832 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.009986, allocations: 245 kB / 0.7835 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.01, allocations: 9.156 kB / 0.7835 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.0102, allocations: 333.3 kB / 0.7838 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.874e-06/0.0102, allocations: 0 / 0.7838 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.000452/0.01065, allocations: 0.6848 MB / 0.7845 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.01073, allocations: 191.9 kB / 0.7846 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01088, allocations: 270.8 kB / 0.7849 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.01092, allocations: 45.7 kB / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.01099, allocations: 149.9 kB / 0.7851 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.358e-05/0.01107, allocations: 140 kB / 0.7852 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.01122, allocations: 122.1 kB / 0.7853 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.01131, allocations: 346.7 kB / 0.7857 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.01153, allocations: 372.7 kB / 0.786 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.01177, allocations: 457.7 kB / 0.7865 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.01213, allocations: 0.6664 MB / 0.7871 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01213, allocations: 0 / 0.7871 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005149/0.01265, allocations: 0.8899 MB / 0.788 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.01274, allocations: 271.3 kB / 0.7882 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01275, allocations: 4 kB / 0.7882 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01276, allocations: 4 kB / 0.7882 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.0129, allocations: 67.84 kB / 0.7883 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.0129, allocations: 6.969 kB / 0.7883 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.01315, allocations: 107.7 kB / 0.7884 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.01321, allocations: 63.86 kB / 0.7885 GB, free: 6.949 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.0001495/0.01336, allocations: 284.2 kB / 0.7887 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.0134, allocations: 41.25 kB / 0.7888 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.01345, allocations: 39.42 kB / 0.7888 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01345, allocations: 4 kB / 0.7888 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01346, allocations: 4.75 kB / 0.7888 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01346, allocations: 7.984 kB / 0.7888 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.01434, allocations: 0.8578 MB / 0.7897 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01435, allocations: 3.938 kB / 0.7897 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.01446, allocations: 65.25 kB / 0.7897 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01446, allocations: 3.938 kB / 0.7897 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01448, allocations: 15.94 kB / 0.7898 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01448, allocations: 9.172 kB / 0.7898 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01448, allocations: 0 / 0.7898 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.01479, allocations: 0.5918 MB / 0.7903 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.01482, allocations: 48.97 kB / 0.7904 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.01484, allocations: 8 kB / 0.7904 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.01492, allocations: 19.98 kB / 0.7904 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.01498, allocations: 37.41 kB / 0.7905 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.01502, allocations: 47.88 kB / 0.7905 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.01508, allocations: 92.62 kB / 0.7906 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01508, allocations: 0 / 0.7906 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002458/0.01533, allocations: 116.8 kB / 0.7907 GB, free: 4.473 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.0001056/0.01543, allocations: 93.14 kB / 0.7908 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.01603, allocations: 1.18 MB / 0.7919 GB, free: 3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.01603, allocations: 4 kB / 0.7919 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.01624, allocations: 0.5061 MB / 0.7924 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.0165, allocations: 99.98 kB / 0.7925 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.01721, allocations: 0.8175 MB / 0.7933 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.468e-05/0.01727, allocations: 105.1 kB / 0.7934 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.974e-05/0.01737, allocations: 46.8 kB / 0.7935 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.01764, allocations: 186.3 kB / 0.7937 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.01764, allocations: 0 / 0.7937 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.008899/0.02654, allocations: 7.321 MB / 0.8008 GB, free: 10.03 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.095104403793812]