Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 250 MB, free: 13.6 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.5 MB / 0.731 GB, free: 12.73 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=533,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=533,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 71.89 kB / 1.06 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8169, allocations: 160.7 MB / 1.217 GB, free: 4 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002/0.8189, allocations: 0.6893 MB / 1.217 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.8208, allocations: 1.349 MB / 1.219 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.8208, allocations: 5 kB / 1.219 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.8213, allocations: 185.7 kB / 1.219 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.8214, allocations: 108.5 kB / 1.219 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.8221, allocations: 236.2 kB / 1.219 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.8227, allocations: 498.1 kB / 1.22 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.8228, allocations: 3.656 kB / 1.22 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.823, allocations: 204.4 kB / 1.22 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.8233, allocations: 222.3 kB / 1.22 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.8234, allocations: 20.75 kB / 1.22 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.8237, allocations: 94.95 kB / 1.22 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000406/0.8241, allocations: 272.6 kB / 1.22 GB, free: 1.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.8243, allocations: 151.5 kB / 1.22 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.8248, allocations: 479.6 kB / 1.221 GB, free: 1.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8249, allocations: 0 / 1.221 GB, free: 1.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.183e-06/0.8249, allocations: 0 / 1.221 GB, free: 1.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8249, allocations: 0 / 1.221 GB, free: 1.027 MB / 0.92 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.001051/0.8259, allocations: 0.6473 MB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8259, allocations: 10.77 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.8261, allocations: 38.8 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.8266, allocations: 383.8 kB / 1.222 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.8267, allocations: 13.22 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.8267, allocations: 20.16 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.8271, allocations: 185.7 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8271, allocations: 192 / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.8271, allocations: 12.98 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.8271, allocations: 1.094 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.8273, allocations: 110.4 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.8278, allocations: 386.8 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.8282, allocations: 318.9 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.8284, allocations: 124 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.8284, allocations: 5.312 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.8289, allocations: 275.8 kB / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.8289, allocations: 1.562 kB / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008139/0.8297, allocations: 0.5026 MB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.8298, allocations: 117.5 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.8302, allocations: 397.2 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.8303, allocations: 36.8 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.8304, allocations: 163.6 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.8305, allocations: 38.61 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8306, allocations: 116.6 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8308, allocations: 344.6 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.8309, allocations: 82.45 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.8315, allocations: 468 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.8318, allocations: 261.8 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8318, allocations: 1.125 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005034/0.8323, allocations: 326.5 kB / 1.226 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8323, allocations: 9.812 kB / 1.226 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8323, allocations: 3.75 kB / 1.226 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8323, allocations: 5 kB / 1.226 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.8325, allocations: 32.67 kB / 1.226 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.8325, allocations: 13.23 kB / 1.226 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.8333, allocations: 73.17 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.8333, allocations: 14.5 kB / 1.226 GB, free: 13.07 MB / 0.9356 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.000233/0.8335, allocations: 196.5 kB / 1.226 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.8336, allocations: 31.81 kB / 1.226 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.8336, allocations: 33.3 kB / 1.226 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8337, allocations: 2.312 kB / 1.226 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.8337, allocations: 5.125 kB / 1.226 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.8337, allocations: 5.125 kB / 1.226 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.834, allocations: 287.5 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.834, allocations: 1.219 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.834, allocations: 3.344 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.834, allocations: 9.078 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.834, allocations: 4.719 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.834, allocations: 5.25 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.834, allocations: 1.406 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.8346, allocations: 431.8 kB / 1.227 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.8347, allocations: 109 kB / 1.227 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.8347, allocations: 7.922 kB / 1.227 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.8348, allocations: 4 kB / 1.227 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.8349, allocations: 23.91 kB / 1.227 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.8349, allocations: 12 kB / 1.227 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003393/0.8352, allocations: 287 kB / 1.228 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8352, allocations: 4 kB / 1.228 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004471/0.8357, allocations: 79.88 kB / 1.228 GB, free: 11.77 MB / 0.9356 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.0002545/0.8359, allocations: 145.7 kB / 1.228 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.8364, allocations: 244.4 kB / 1.228 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8364, allocations: 128 / 1.228 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.8366, allocations: 155.9 kB / 1.228 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.8369, allocations: 20.64 kB / 1.228 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.8379, allocations: 0.6168 MB / 1.229 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.8383, allocations: 0.7674 MB / 1.23 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.8383, allocations: 27.44 kB / 1.23 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.8383, allocations: 0 / 1.23 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of Templates: time 0.007336/0.8457, allocations: 4.351 MB / 1.234 GB, free: 5.441 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches