Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001814/0.002973, allocations: 449.7 kB / 10.37 MB, free: 328 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.001298/0.001298, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002851, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9822/0.9822, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09527/1.078, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.824/1.824, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4829/2.306, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.73e-05, allocations: 8.781 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001533/0.001551, allocations: 1.313 MB / 0.7306 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.002978, allocations: 1.621 MB / 0.7322 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.003059, allocations: 7.938 kB / 0.7322 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.366e-05/0.003133, allocations: 32.36 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.003257, allocations: 90.84 kB / 0.7323 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.003964, allocations: 483 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.004702, allocations: 0.6486 MB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.004904, allocations: 117.4 kB / 0.7335 GB, free: 284 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.005264, allocations: 427.2 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.00545, allocations: 168.9 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.005504, allocations: 53.72 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.005609, allocations: 63.98 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.005667, allocations: 55.75 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.005777, allocations: 119.8 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.00608, allocations: 354.9 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.006093, allocations: 0.8125 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006094, allocations: 0 / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.006111, allocations: 0.5 kB / 0.7347 GB, free: 15.06 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007879/0.006899, allocations: 0.8987 MB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.006926, allocations: 8.031 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.007, allocations: 60.88 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.007265, allocations: 270.4 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.00729, allocations: 24.88 kB / 0.7359 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.007336, allocations: 40.97 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.007616, allocations: 358.5 kB / 0.7363 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007625, allocations: 1.938 kB / 0.7363 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.007641, allocations: 12.38 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.007649, allocations: 8.359 kB / 0.7363 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.007773, allocations: 219.8 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.008415, allocations: 0.5197 MB / 0.7371 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.008601, allocations: 266.9 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.008721, allocations: 230.6 kB / 0.7375 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.008733, allocations: 11.94 kB / 0.7375 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.00893, allocations: 345.7 kB / 0.7379 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.008931, allocations: 0.5625 kB / 0.7379 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44): time 0.0004113/0.009343, allocations: 0.6912 MB / 0.7386 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.009375, allocations: 59.34 kB / 0.7386 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.009523, allocations: 268.4 kB / 0.7389 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.009559, allocations: 37.7 kB / 0.7389 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.00963, allocations: 153.3 kB / 0.739 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.009696, allocations: 134.8 kB / 0.7392 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.009811, allocations: 122.7 kB / 0.7393 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.009895, allocations: 351.3 kB / 0.7396 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.01009, allocations: 381.4 kB / 0.74 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.01062, allocations: 465.1 kB / 0.7404 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.01095, allocations: 0.6775 MB / 0.7411 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.01096, allocations: 0 / 0.7411 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005082/0.01147, allocations: 0.9005 MB / 0.742 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.01157, allocations: 274.8 kB / 0.7422 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01158, allocations: 4 kB / 0.7422 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.01159, allocations: 4 kB / 0.7422 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01172, allocations: 72.59 kB / 0.7423 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01173, allocations: 7.938 kB / 0.7423 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.01196, allocations: 106 kB / 0.7424 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.01202, allocations: 65.17 kB / 0.7425 GB, free: 6.242 MB / 0.7136 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.0001474/0.01217, allocations: 285.5 kB / 0.7428 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.0122, allocations: 43.97 kB / 0.7428 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.01225, allocations: 41.64 kB / 0.7428 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01225, allocations: 4 kB / 0.7428 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01226, allocations: 3.938 kB / 0.7428 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01226, allocations: 7.984 kB / 0.7429 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.01283, allocations: 0.8669 MB / 0.7437 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01283, allocations: 0 / 0.7437 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01294, allocations: 63.91 kB / 0.7438 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01297, allocations: 41.67 kB / 0.7438 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.01297, allocations: 0 / 0.7438 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01298, allocations: 15.98 kB / 0.7438 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01299, allocations: 0 / 0.7438 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01299, allocations: 0 / 0.7438 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.01329, allocations: 0.6002 MB / 0.7444 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.01331, allocations: 11.98 kB / 0.7444 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.01339, allocations: 20.92 kB / 0.7444 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.01345, allocations: 43.92 kB / 0.7445 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.01349, allocations: 47.88 kB / 0.7445 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.01355, allocations: 93.62 kB / 0.7446 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01355, allocations: 0 / 0.7446 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002351/0.01378, allocations: 107.9 kB / 0.7447 GB, free: 3.758 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: 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.0001/0.01388, allocations: 99.33 kB / 0.7448 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005737/0.01446, allocations: 1.184 MB / 0.746 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.01447, allocations: 11.97 kB / 0.746 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.01468, allocations: 0.5138 MB / 0.7465 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.01494, allocations: 121.3 kB / 0.7466 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01609, allocations: 0.849 MB / 0.7474 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.01615, allocations: 109.7 kB / 0.7475 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.99e-05/0.01625, allocations: 46.55 kB / 0.7476 GB, free: 476 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.01651, allocations: 190.8 kB / 0.7478 GB, free: 288 kB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.01651, allocations: 0 / 0.7478 GB, free: 288 kB / 0.7136 GB Notification: Performance of Templates: time 0.009389/0.0259, allocations: 7.645 MB / 0.7552 GB, free: 8.926 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.131907094269991]