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.002007/0.002007, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.003373/0.003373, allocations: 213.7 kB / 22.24 MB, free: 5.238 MB / 14.72 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 1.654/1.654, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.595/3.595, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 66.12 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4389, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002992/0.4418, allocations: 1.246 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.4443, allocations: 1.569 MB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.4444, allocations: 3.938 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.4445, allocations: 35.61 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.4447, allocations: 75.36 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4458, allocations: 0.5007 MB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.4466, allocations: 0.6482 MB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.4469, allocations: 117.3 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.4472, allocations: 255.4 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.4475, allocations: 215.2 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.4476, allocations: 64 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.4477, allocations: 75.98 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.4479, allocations: 83.64 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.4481, allocations: 215.2 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008373/0.449, allocations: 0.6928 MB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.449, allocations: 3.938 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.113e-06/0.449, allocations: 0 / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.449, allocations: 0 / 1.369 GB, free: 7.84 MB / 1.061 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.001581/0.4506, allocations: 0.875 MB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.4506, allocations: 8.031 kB / 1.37 GB, free: 6.867 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.4508, allocations: 52.66 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.4522, allocations: 409.5 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.4522, allocations: 24.88 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.4523, allocations: 40.38 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000852/0.4532, allocations: 457 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4532, allocations: 3.938 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.4532, allocations: 15.98 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.4533, allocations: 4 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.454, allocations: 390.3 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.4557, allocations: 0.7361 MB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.4564, allocations: 483.7 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.4571, allocations: 398.2 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.4571, allocations: 11.88 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007505/0.4579, allocations: 444.3 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 3.066e-06/0.4579, allocations: 4 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.002141/0.46, allocations: 1.108 MB / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.4601, allocations: 187.9 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.4605, allocations: 292.4 kB / 1.375 GB, free: 1.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.4605, allocations: 41.7 kB / 1.375 GB, free: 1.438 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4607, allocations: 172.9 kB / 1.375 GB, free: 1.266 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4608, allocations: 134.9 kB / 1.376 GB, free: 1.133 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.4611, allocations: 130.1 kB / 1.376 GB, free: 1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4612, allocations: 346.8 kB / 1.376 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/0.462, allocations: 0.5274 MB / 1.377 GB, free: 72 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.463, allocations: 0.6101 MB / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4643, allocations: 0.9168 MB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4643, allocations: 0 / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002023/0.4664, allocations: 1.27 MB / 1.379 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.4666, allocations: 255.3 kB / 1.38 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4666, allocations: 4 kB / 1.38 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4666, allocations: 4 kB / 1.38 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.4669, allocations: 68.17 kB / 1.38 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4669, allocations: 8 kB / 1.38 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.4677, allocations: 135.6 kB / 1.38 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.4678, allocations: 75.86 kB / 1.38 GB, free: 12.36 MB / 1.076 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.0003838/0.4682, allocations: 321.9 kB / 1.38 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.4683, allocations: 43.69 kB / 1.38 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.4684, allocations: 39.42 kB / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4684, allocations: 8 kB / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4684, allocations: 0 / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4684, allocations: 3.984 kB / 1.38 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.4705, allocations: 1.219 MB / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4705, allocations: 0 / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4707, allocations: 67.89 kB / 1.381 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4707, allocations: 0 / 1.381 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.4708, allocations: 16 kB / 1.381 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4708, allocations: 0 / 1.381 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4708, allocations: 0 / 1.381 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.4721, allocations: 0.9077 MB / 1.382 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.4722, allocations: 35.7 kB / 1.382 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.4723, allocations: 8 kB / 1.382 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.4725, allocations: 27.97 kB / 1.382 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4726, allocations: 39.94 kB / 1.382 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.4727, allocations: 47.92 kB / 1.382 GB, free: 9.363 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000224/0.4729, allocations: 199 kB / 1.383 GB, free: 9.168 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4729, allocations: 0 / 1.383 GB, free: 9.168 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004422/0.4733, allocations: 115.9 kB / 1.383 GB, free: 9.055 MB / 1.076 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.0002051/0.4735, allocations: 121.3 kB / 1.383 GB, free: 8.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.4755, allocations: 1.437 MB / 1.384 GB, free: 7.297 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4755, allocations: 0 / 1.384 GB, free: 7.297 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.4763, allocations: 0.6227 MB / 1.385 GB, free: 6.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.4769, allocations: 84.92 kB / 1.385 GB, free: 6.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4784, allocations: 0.9314 MB / 1.386 GB, free: 5.512 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.4787, allocations: 192.3 kB / 1.386 GB, free: 5.301 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.4789, allocations: 91.2 kB / 1.386 GB, free: 5.215 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.479, allocations: 35.44 kB / 1.386 GB, free: 5.18 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/0.479, allocations: 0 / 1.386 GB, free: 5.18 MB / 1.076 GB Notification: Performance of Templates: time 0.0146/0.4936, allocations: 7.332 MB / 1.393 GB, free: 13.98 MB / 1.092 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.391359621658921]