Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001574/0.001574, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001913/0.001913, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.809 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.606/3.606, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.002079/0.002079, allocations: 68.95 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.441, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002468/0.4435, allocations: 0.9619 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.4456, allocations: 1.335 MB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.4457, allocations: 7.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.4459, allocations: 15.8 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.446, allocations: 51.64 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.4468, allocations: 280.5 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000542/0.4473, allocations: 379.2 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.4476, allocations: 49.72 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.4478, allocations: 147.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.448, allocations: 127.4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.4481, allocations: 32 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.4482, allocations: 55.98 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.4484, allocations: 59.78 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.4485, allocations: 123.5 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.449, allocations: 398.6 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.449, allocations: 3.938 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.449, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.449, allocations: 0 / 1.368 GB, free: 9.555 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001048/0.45, allocations: 0.5511 MB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4501, allocations: 12.03 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.4504, allocations: 64.72 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.4514, allocations: 309.1 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.4514, allocations: 12.38 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.4514, allocations: 24.38 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.4519, allocations: 206.9 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4519, allocations: 3.938 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.4519, allocations: 7.984 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4519, allocations: 4 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.4524, allocations: 143.8 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.4536, allocations: 0.7859 MB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.4539, allocations: 152.9 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.4542, allocations: 84.3 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4542, allocations: 0 / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.4546, allocations: 171.5 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.4546, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0008947/0.4555, allocations: 261.9 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4556, allocations: 166.1 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4559, allocations: 224.9 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4559, allocations: 37.64 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4561, allocations: 152.3 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.4561, allocations: 23.81 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4562, allocations: 57.67 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4564, allocations: 330.8 kB / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.4567, allocations: 167.4 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.4572, allocations: 284.2 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.4578, allocations: 274.9 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4578, allocations: 3.938 kB / 1.372 GB, free: 4.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009175/0.4587, allocations: 444 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.4588, allocations: 71.33 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4588, allocations: 4 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4588, allocations: 4 kB / 1.373 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.459, allocations: 32.12 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.459, allocations: 4 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.4594, allocations: 67.81 kB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.4594, allocations: 19.98 kB / 1.373 GB, free: 4.016 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001699/0.4596, allocations: 149.7 kB / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.4597, allocations: 31.84 kB / 1.373 GB, free: 3.828 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.4597, allocations: 17.34 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4597, allocations: 4 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4597, allocations: 0 / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4597, allocations: 7.984 kB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.4599, allocations: 177.2 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4599, allocations: 0 / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4601, allocations: 27.97 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4601, allocations: 4 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4601, allocations: 8 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4601, allocations: 3.984 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4601, allocations: 3.938 kB / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.4607, allocations: 240.2 kB / 1.373 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.4607, allocations: 23.83 kB / 1.373 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4608, allocations: 4 kB / 1.373 GB, free: 3.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4609, allocations: 23.97 kB / 1.373 GB, free: 3.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.461, allocations: 15.92 kB / 1.373 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.461, allocations: 4 kB / 1.373 GB, free: 3.207 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001616/0.4611, allocations: 160.5 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4611, allocations: 0 / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003274/0.4615, allocations: 51.89 kB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00018/0.4617, allocations: 111.2 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000828/0.4625, allocations: 373.9 kB / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4625, allocations: 0 / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.4628, allocations: 80.38 kB / 1.374 GB, free: 2.402 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4631, allocations: 58.73 kB / 1.374 GB, free: 2.348 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.4639, allocations: 387.5 kB / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.464, allocations: 137.4 kB / 1.375 GB, free: 1.777 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.4642, allocations: 45.59 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.4642, allocations: 15.44 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.4642, allocations: 4 kB / 1.375 GB, free: 1.711 MB / 1.061 GB Notification: Performance of Templates: time 0.008336/0.4726, allocations: 3.513 MB / 1.378 GB, free: 14.28 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.034911215305328]