Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.001871, allocations: 190.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8145, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002006/0.8166, allocations: 0.7424 MB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.8182, allocations: 1.332 MB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.8182, allocations: 4 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.8187, allocations: 182.2 kB / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.8188, allocations: 101.1 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.8195, allocations: 217.2 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000508/0.82, allocations: 480 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.8201, allocations: 5.469 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.8203, allocations: 210.3 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.8207, allocations: 204.9 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.676e-05/0.8208, allocations: 22.06 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.821, allocations: 89.03 kB / 0.9526 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.8214, allocations: 256.8 kB / 0.9528 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.8215, allocations: 148.2 kB / 0.953 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.822, allocations: 480.5 kB / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.822, allocations: 0 / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.822, allocations: 5.188 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8221, allocations: 3.938 kB / 0.9534 GB, free: 6.18 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009197/0.823, allocations: 0.6284 MB / 0.9541 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.823, allocations: 9.688 kB / 0.9541 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.8232, allocations: 33.38 kB / 0.9541 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.8236, allocations: 380.3 kB / 0.9545 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8236, allocations: 13.25 kB / 0.9545 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.8237, allocations: 23.91 kB / 0.9545 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.824, allocations: 187.5 kB / 0.9547 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.824, allocations: 3.938 kB / 0.9547 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.824, allocations: 7.984 kB / 0.9547 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.824, allocations: 0 / 0.9547 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.8242, allocations: 101.8 kB / 0.9548 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.8245, allocations: 399.8 kB / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.8249, allocations: 321 kB / 0.9555 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.8251, allocations: 129.3 kB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.8251, allocations: 5.25 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.8255, allocations: 283.6 kB / 0.9559 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.8255, allocations: 4 kB / 0.9559 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008166/0.8264, allocations: 496.6 kB / 0.9563 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.8264, allocations: 116.3 kB / 0.9565 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.8268, allocations: 397.9 kB / 0.9568 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.8269, allocations: 36.86 kB / 0.9569 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.827, allocations: 158.9 kB / 0.957 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.8271, allocations: 38.41 kB / 0.9571 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.8272, allocations: 113 kB / 0.9572 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.8273, allocations: 348.9 kB / 0.9575 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.8274, allocations: 82.2 kB / 0.9576 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.8279, allocations: 474.2 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.8282, allocations: 258.2 kB / 0.9583 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8282, allocations: 1.406 kB / 0.9583 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004703/0.8286, allocations: 325.3 kB / 0.9586 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.8287, allocations: 8.906 kB / 0.9586 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.8287, allocations: 7.406 kB / 0.9586 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.8287, allocations: 5.469 kB / 0.9586 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.8289, allocations: 32.73 kB / 0.9586 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.8289, allocations: 12.98 kB / 0.9587 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.8296, allocations: 68.64 kB / 0.9587 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.8297, allocations: 13.5 kB / 0.9587 GB, free: 2.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001892/0.8299, allocations: 200.2 kB / 0.9589 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.8299, allocations: 27.97 kB / 0.9589 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.83, allocations: 34 kB / 0.959 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.83, allocations: 6.453 kB / 0.959 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.83, allocations: 1.125 kB / 0.959 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.83, allocations: 5.344 kB / 0.959 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.8303, allocations: 287 kB / 0.9593 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.8303, allocations: 1.25 kB / 0.9593 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.8303, allocations: 10.67 kB / 0.9593 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8303, allocations: 6.219 kB / 0.9593 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.8303, allocations: 4.094 kB / 0.9593 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8303, allocations: 1.312 kB / 0.9593 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8303, allocations: 1.594 kB / 0.9593 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.8309, allocations: 432 kB / 0.9597 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.8309, allocations: 112.8 kB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.831, allocations: 6.375 kB / 0.9598 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.8311, allocations: 5.312 kB / 0.9598 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.8311, allocations: 28.39 kB / 0.9598 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.8312, allocations: 10.22 kB / 0.9599 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002691/0.8314, allocations: 288.5 kB / 0.9601 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8314, allocations: 0 / 0.9601 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003873/0.8318, allocations: 76.91 kB / 0.9602 GB, free: 1.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002199/0.832, allocations: 142.8 kB / 0.9603 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.8325, allocations: 269.2 kB / 0.9606 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8325, allocations: 3.938 kB / 0.9606 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.8327, allocations: 151.5 kB / 0.9607 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.833, allocations: 28.39 kB / 0.9608 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.8338, allocations: 0.6104 MB / 0.9614 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.8341, allocations: 0.7643 MB / 0.9621 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.8343, allocations: 45.78 kB / 0.9622 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.8344, allocations: 32.3 kB / 0.9622 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8344, allocations: 0 / 0.9622 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.01053/0.8449, allocations: 4.988 MB / 0.9671 GB, free: 13.34 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches