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.001003/0.001003, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.00245, 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.0009425/0.0009425, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002186, 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.9525/0.9525, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0974/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.879/1.879, allocations: 378.3 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.505/2.384, allocations: 123.3 MB / 0.7283 GB, free: 5.715 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 2.255e-06/2.255e-06, allocations: 0 / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.417e-05, allocations: 3.281 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003356/0.00338, allocations: 1.328 MB / 0.7309 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.005781, allocations: 1.613 MB / 0.7325 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.005992, allocations: 4 kB / 0.7325 GB, free: 1.484 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.006129, allocations: 44.62 kB / 0.7326 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.006345, allocations: 76.62 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.007529, allocations: 488.9 kB / 0.7331 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008994/0.008429, allocations: 0.6447 MB / 0.7337 GB, free: 268 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.008732, allocations: 117.6 kB / 0.7338 GB, free: 152 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006741/0.009406, allocations: 427.2 kB / 0.7343 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.009766, allocations: 174.1 kB / 0.7344 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.93e-05/0.009866, allocations: 52 kB / 0.7345 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.01003, allocations: 60 kB / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.01012, allocations: 59.73 kB / 0.7346 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.01029, allocations: 123.8 kB / 0.7347 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.0108, allocations: 355.3 kB / 0.735 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.01082, allocations: 1.094 kB / 0.735 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01082, allocations: 0 / 0.735 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.01084, allocations: 0 / 0.735 GB, free: 14.93 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.00126/0.0121, allocations: 0.8985 MB / 0.7359 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.01215, allocations: 12.03 kB / 0.7359 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.01229, allocations: 61.56 kB / 0.736 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.01271, allocations: 273.5 kB / 0.7362 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.01276, allocations: 29.41 kB / 0.7363 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.01283, allocations: 40.38 kB / 0.7363 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.01328, allocations: 350.7 kB / 0.7367 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01329, allocations: 0.7812 kB / 0.7367 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.01332, allocations: 13.16 kB / 0.7367 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01333, allocations: 12.36 kB / 0.7367 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.01353, allocations: 216.4 kB / 0.7369 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01456, allocations: 0.5236 MB / 0.7374 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.01485, allocations: 263.3 kB / 0.7376 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.01503, allocations: 237.2 kB / 0.7379 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.01505, allocations: 4 kB / 0.7379 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.01537, allocations: 345.8 kB / 0.7382 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=44): time 3.347e-06/0.01538, allocations: 0.875 kB / 0.7382 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44): time 0.0006376/0.01601, allocations: 0.6865 MB / 0.7389 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.01606, allocations: 64.28 kB / 0.7389 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.01628, allocations: 262.9 kB / 0.7392 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.01634, allocations: 42.95 kB / 0.7392 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01644, allocations: 149.3 kB / 0.7394 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.01655, allocations: 134.8 kB / 0.7395 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.01674, allocations: 127.2 kB / 0.7396 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.01686, allocations: 354.7 kB / 0.74 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.01721, allocations: 376.2 kB / 0.7403 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.01756, allocations: 466.3 kB / 0.7408 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.01809, allocations: 0.6735 MB / 0.7414 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.0181, allocations: 0 / 0.7414 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008343/0.01893, allocations: 0.9081 MB / 0.7423 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.01909, allocations: 273.6 kB / 0.7426 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.0191, allocations: 0 / 0.7426 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.01912, allocations: 4.75 kB / 0.7426 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.01934, allocations: 72.59 kB / 0.7426 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01935, allocations: 4 kB / 0.7426 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.01975, allocations: 109.9 kB / 0.7428 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.01985, allocations: 64.89 kB / 0.7428 GB, free: 6.105 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.0002358/0.02009, allocations: 286 kB / 0.7431 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.02016, allocations: 43.97 kB / 0.7431 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.02022, allocations: 40.17 kB / 0.7432 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.02023, allocations: 4 kB / 0.7432 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.02023, allocations: 10.62 kB / 0.7432 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.02024, allocations: 3.984 kB / 0.7432 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.02117, allocations: 0.8646 MB / 0.744 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02118, allocations: 2.906 kB / 0.744 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.02137, allocations: 63.91 kB / 0.7441 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.02142, allocations: 39.64 kB / 0.7441 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.02142, allocations: 0 / 0.7441 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.02145, allocations: 15.98 kB / 0.7441 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02145, allocations: 4 kB / 0.7441 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.02146, allocations: 3.938 kB / 0.7442 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.02195, allocations: 0.601 MB / 0.7447 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.022, allocations: 11.98 kB / 0.7448 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.02214, allocations: 15.98 kB / 0.7448 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.02223, allocations: 43.92 kB / 0.7448 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.02229, allocations: 44.81 kB / 0.7449 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.794e-05/0.02239, allocations: 96.56 kB / 0.7449 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.02239, allocations: 0.6562 kB / 0.7449 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004079/0.0228, allocations: 103.9 kB / 0.745 GB, free: 3.621 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.0002008/0.023, allocations: 102.6 kB / 0.7451 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009123/0.02391, allocations: 1.199 MB / 0.7463 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.02393, allocations: 6.438 kB / 0.7463 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.0243, allocations: 0.5412 MB / 0.7468 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.02494, allocations: 0.6254 MB / 0.7475 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.0264, allocations: 0.8527 MB / 0.7483 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.02648, allocations: 109 kB / 0.7484 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.02664, allocations: 47.52 kB / 0.7484 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.02704, allocations: 193.2 kB / 0.7486 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of SimCode: time 1.372e-06/0.02704, allocations: 0 / 0.7486 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.009904/0.03694, allocations: 7.581 MB / 0.756 GB, free: 8.184 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037935636006296]