Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007867/0.0007867, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002112, allocations: 440 kB / 10.41 MB, free: 284 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.0007397/0.0007397, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001768, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.982/0.982, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1107/1.093, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.474/2.474, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2375/2.712, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.473e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002848/0.002872, allocations: 1.324 MB / 0.8202 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.005404, allocations: 1.617 MB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.00564, allocations: 0 / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.005794, allocations: 39.53 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.00599, allocations: 79.25 kB / 0.8219 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.007095, allocations: 483 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.007871, allocations: 0.6559 MB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.008151, allocations: 108 kB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.008755, allocations: 419.3 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.009081, allocations: 183.4 kB / 0.8237 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.009185, allocations: 52 kB / 0.8238 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.009365, allocations: 63.92 kB / 0.8238 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.009452, allocations: 59.75 kB / 0.8239 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.009626, allocations: 127.8 kB / 0.824 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007428/0.01037, allocations: 342.9 kB / 0.8243 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.01038, allocations: 0 / 0.8243 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.968e-06/0.01039, allocations: 3.984 kB / 0.8243 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.01041, allocations: 0 / 0.8243 GB, free: 12.94 MB / 0.8073 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.001128/0.01154, allocations: 0.9045 MB / 0.8252 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.01158, allocations: 16.02 kB / 0.8252 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.0117, allocations: 60.89 kB / 0.8253 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.01207, allocations: 257.6 kB / 0.8255 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.013e-05/0.01211, allocations: 32.81 kB / 0.8256 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.01218, allocations: 36.38 kB / 0.8256 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.01257, allocations: 353.8 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.01258, allocations: 192 / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.0126, allocations: 8.375 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01261, allocations: 8.375 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.01274, allocations: 227.8 kB / 0.8262 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.01344, allocations: 0.5089 MB / 0.8267 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.01364, allocations: 266.3 kB / 0.8269 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01377, allocations: 237.3 kB / 0.8271 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.01378, allocations: 4 kB / 0.8271 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.014, allocations: 343.5 kB / 0.8275 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.014, allocations: 0 / 0.8275 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.0004632/0.01446, allocations: 0.6872 MB / 0.8281 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.01449, allocations: 67.28 kB / 0.8282 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01464, allocations: 262.9 kB / 0.8285 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.01468, allocations: 45.7 kB / 0.8285 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.01476, allocations: 153.2 kB / 0.8286 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.01482, allocations: 134.9 kB / 0.8288 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.01494, allocations: 122.1 kB / 0.8289 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.01503, allocations: 350.7 kB / 0.8292 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.01524, allocations: 380.2 kB / 0.8296 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.01548, allocations: 465.1 kB / 0.83 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.01585, allocations: 0.6781 MB / 0.8307 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.01585, allocations: 4 kB / 0.8307 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008096/0.01666, allocations: 0.9023 MB / 0.8316 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.01677, allocations: 267.3 kB / 0.8318 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01678, allocations: 8 kB / 0.8318 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.0168, allocations: 4 kB / 0.8318 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.01695, allocations: 67.84 kB / 0.8319 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01696, allocations: 7.938 kB / 0.8319 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.01721, allocations: 115.8 kB / 0.832 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.01727, allocations: 59.92 kB / 0.8321 GB, free: 4.094 MB / 0.8073 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.0001652/0.01744, allocations: 293 kB / 0.8324 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01748, allocations: 39.97 kB / 0.8324 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.01753, allocations: 43.36 kB / 0.8324 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01754, allocations: 4 kB / 0.8324 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01754, allocations: 7.938 kB / 0.8325 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01754, allocations: 3.984 kB / 0.8325 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.01816, allocations: 0.8569 MB / 0.8333 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01816, allocations: 0 / 0.8333 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.01828, allocations: 59.91 kB / 0.8334 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.01831, allocations: 43.62 kB / 0.8334 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.01832, allocations: 4 kB / 0.8334 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01834, allocations: 12 kB / 0.8334 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01834, allocations: 4 kB / 0.8334 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01834, allocations: 7.922 kB / 0.8334 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.01866, allocations: 0.6034 MB / 0.834 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.01869, allocations: 11.98 kB / 0.834 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.01878, allocations: 23.98 kB / 0.834 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.01884, allocations: 35.89 kB / 0.8341 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.01888, allocations: 51.88 kB / 0.8341 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.88e-05/0.01895, allocations: 92.62 kB / 0.8342 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01895, allocations: 4 kB / 0.8342 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002623/0.01921, allocations: 103.9 kB / 0.8343 GB, free: 1.594 MB / 0.8073 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.000167/0.01938, allocations: 97.05 kB / 0.8344 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006203/0.02, allocations: 1.189 MB / 0.8356 GB, free: 108 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.02001, allocations: 4.844 kB / 0.8356 GB, free: 104 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.02027, allocations: 0.5415 MB / 0.8361 GB, free: 15.46 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.02071, allocations: 0.6329 MB / 0.8367 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.02194, allocations: 0.8441 MB / 0.8375 GB, free: 13.81 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.074e-05/0.022, allocations: 105 kB / 0.8376 GB, free: 13.68 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.56e-05/0.0221, allocations: 47.27 kB / 0.8377 GB, free: 13.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.02239, allocations: 189.2 kB / 0.8379 GB, free: 13.45 MB / 0.823 GB Notification: Performance of SimCode: time 9.52e-07/0.02239, allocations: 0 / 0.8379 GB, free: 13.45 MB / 0.823 GB Notification: Performance of Templates: time 0.009602/0.03199, allocations: 7.576 MB / 0.8453 GB, free: 6.031 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor/Buildings_latest_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.422470762394369]