Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002235/0.002235, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002848/0.002848, allocations: 216 kB / 22.25 MB, free: 5.254 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.427/3.427, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002221/0.002221, allocations: 74.94 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.438, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002745/0.4408, allocations: 0.9597 MB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.4432, allocations: 1.346 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.4433, allocations: 4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.4434, allocations: 19.73 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4435, allocations: 43.66 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.4444, allocations: 285.9 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.4448, allocations: 379.3 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.445, allocations: 41.8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.4452, allocations: 159.6 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.4454, allocations: 123.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.4455, allocations: 32 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.4456, allocations: 51.92 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.4457, allocations: 55.84 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.4459, allocations: 123.5 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.4463, allocations: 398.5 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.4463, allocations: 11.98 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4463, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4463, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 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.001189/0.4475, allocations: 0.5472 MB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4476, allocations: 8.031 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.4479, allocations: 60.77 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.4488, allocations: 309.1 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4488, allocations: 12.38 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.4489, allocations: 20.38 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.4494, allocations: 210.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4494, allocations: 3.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4494, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4494, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.4499, allocations: 143.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.451, allocations: 0.7858 MB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.4514, allocations: 152.9 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.4517, allocations: 80.31 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.4517, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.4522, allocations: 171.5 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4522, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0009048/0.4531, allocations: 261.8 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.4532, allocations: 170.3 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.4534, allocations: 221 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.4535, allocations: 33.7 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4536, allocations: 152.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.4537, allocations: 23.81 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.4538, allocations: 57.67 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.454, allocations: 330.8 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.4544, allocations: 163.3 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.4548, allocations: 296.1 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.4555, allocations: 274.9 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4555, allocations: 3.938 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009708/0.4564, allocations: 440.1 kB / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.4565, allocations: 67.39 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4565, allocations: 4.141 kB / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4565, allocations: 0 / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.4567, allocations: 31.95 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4567, allocations: 7.938 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.4571, allocations: 75.91 kB / 1.334 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.4571, allocations: 19.92 kB / 1.334 GB, free: 8.289 MB / 1.029 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.0001976/0.4573, allocations: 150.3 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4574, allocations: 15.91 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.4574, allocations: 21.34 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4574, allocations: 8 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4574, allocations: 3.984 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4574, allocations: 0 / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.4577, allocations: 189.1 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4577, allocations: 4 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4578, allocations: 27.91 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4578, allocations: 4 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4578, allocations: 3.984 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.4578, allocations: 4 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4578, allocations: 4 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.4585, allocations: 240.2 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.4585, allocations: 19.8 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4586, allocations: 4 kB / 1.335 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4587, allocations: 31.91 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.4588, allocations: 11.98 kB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4588, allocations: 4 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001558/0.4589, allocations: 160.5 kB / 1.335 GB, free: 7.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4589, allocations: 0 / 1.335 GB, free: 7.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002902/0.4592, allocations: 51.89 kB / 1.335 GB, free: 7.273 MB / 1.029 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.0001691/0.4594, allocations: 115.1 kB / 1.335 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000906/0.4603, allocations: 370 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4603, allocations: 0 / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.4606, allocations: 84.36 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.4609, allocations: 54.09 kB / 1.336 GB, free: 6.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.4616, allocations: 379.5 kB / 1.336 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.4618, allocations: 140.8 kB / 1.336 GB, free: 6.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.4619, allocations: 37.61 kB / 1.336 GB, free: 6.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.462, allocations: 19.81 kB / 1.336 GB, free: 5.996 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.462, allocations: 4 kB / 1.336 GB, free: 5.992 MB / 1.029 GB Notification: Performance of Templates: time 0.008123/0.4701, allocations: 3.515 MB / 1.34 GB, free: 2.559 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.865996599197388]