Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.001725/0.001725, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002449/0.002449, allocations: 214.9 kB / 23 MB, free: 4.969 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.671/1.671, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.374/3.374, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [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.002064/0.002064, allocations: 73.77 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002106/0.419, allocations: 0.8337 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.4211, allocations: 1.455 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.4212, allocations: 11.88 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.4217, allocations: 195.4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.4219, allocations: 119.6 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.423, allocations: 367.1 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009978/0.4239, allocations: 0.8738 MB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.4241, allocations: 60.55 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.4245, allocations: 351.4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.4249, allocations: 291.2 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.4251, allocations: 44 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.4254, allocations: 123.9 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.4259, allocations: 367.3 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.4262, allocations: 235 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00098/0.4271, allocations: 0.919 MB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4271, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4271, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4272, allocations: 0 / 1.333 GB, free: 10.83 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001678/0.4288, allocations: 0.8319 MB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4289, allocations: 8.031 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.4291, allocations: 60.64 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4301, allocations: 496.4 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.4301, allocations: 24.61 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.4302, allocations: 36.36 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.4308, allocations: 311.8 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4308, allocations: 192 / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.4308, allocations: 11.94 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4308, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.4312, allocations: 223.8 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.4332, allocations: 0.9922 MB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.4339, allocations: 467.8 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.4342, allocations: 178.5 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.4342, allocations: 4 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.4347, allocations: 332.2 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.4347, allocations: 4 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001098/0.4358, allocations: 0.6262 MB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.4359, allocations: 118.8 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/0.4367, allocations: 0.5993 MB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.4368, allocations: 45.7 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.437, allocations: 217.7 kB / 1.339 GB, free: 5.074 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.4371, allocations: 51.62 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.4374, allocations: 185.5 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4376, allocations: 358.8 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.4377, allocations: 127.9 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4394, allocations: 1.779 MB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.4398, allocations: 300.6 kB / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4398, allocations: 0 / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007449/0.4405, allocations: 425 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.4406, allocations: 9.562 kB / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4406, allocations: 0 / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4406, allocations: 8.375 kB / 1.342 GB, free: 1.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.4408, allocations: 35.86 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.4408, allocations: 16.05 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4422, allocations: 123.9 kB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.4423, allocations: 15.98 kB / 1.342 GB, free: 1.172 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0004035/0.4427, allocations: 258.2 kB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.4427, allocations: 43.72 kB / 1.342 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.4429, allocations: 47.38 kB / 1.342 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.4429, allocations: 7.984 kB / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4429, allocations: 0 / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.443, allocations: 51.64 kB / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.4431, allocations: 7.984 kB / 1.342 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.4432, allocations: 15.98 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4433, allocations: 39.89 kB / 1.342 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009306/0.4443, allocations: 0.6989 MB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009259/0.4452, allocations: 0.8038 MB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002246/0.4454, allocations: 159.8 kB / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005587/0.446, allocations: 435.1 kB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of Backend: time 2.5e-07/0.446, allocations: 0 / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.4471, allocations: 310.4 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of SimCode: time 0.001501/0.4486, allocations: 1.138 MB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of Templates: time 0.0169/0.4655, allocations: 9.285 MB / 1.355 GB, free: 3.949 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.871403470999212]