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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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.002627/0.002627, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4043, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002709/0.407, allocations: 0.6917 MB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.4096, allocations: 1.359 MB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.4097, allocations: 0 / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.4103, allocations: 195.5 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.4104, allocations: 99.72 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.4113, allocations: 230.2 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.412, allocations: 491.7 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.103e-05/0.412, allocations: 8 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.4123, allocations: 207.6 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.4127, allocations: 227.5 kB / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.4128, allocations: 20 kB / 1.22 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.413, allocations: 87.94 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.4134, allocations: 279.4 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.4136, allocations: 151.3 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.4142, allocations: 474.5 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4142, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4142, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4142, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 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.001213/0.4154, allocations: 0.6461 MB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4155, allocations: 12.03 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.4156, allocations: 32.8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.4162, allocations: 384.3 kB / 1.222 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4163, allocations: 12.38 kB / 1.222 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.4164, allocations: 28.3 kB / 1.222 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.4167, allocations: 192.6 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4167, allocations: 192 / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4167, allocations: 3.938 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4167, allocations: 8 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.4169, allocations: 111.9 kB / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.4175, allocations: 383.1 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.4181, allocations: 319.6 kB / 1.223 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4183, allocations: 118.6 kB / 1.223 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.4183, allocations: 4 kB / 1.223 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005002/0.4188, allocations: 283.5 kB / 1.223 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.4188, allocations: 0 / 1.223 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0009038/0.4197, allocations: 0.4934 MB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4198, allocations: 118.8 kB / 1.224 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.4203, allocations: 400.5 kB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.4204, allocations: 41.7 kB / 1.224 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4205, allocations: 156.8 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.4206, allocations: 43.73 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.4208, allocations: 113.6 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.421, allocations: 342.8 kB / 1.225 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4211, allocations: 83.95 kB / 1.225 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.4217, allocations: 468.5 kB / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.4221, allocations: 261.4 kB / 1.225 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.4221, allocations: 0 / 1.225 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005291/0.4226, allocations: 329.1 kB / 1.226 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4226, allocations: 11.94 kB / 1.226 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4226, allocations: 4 kB / 1.226 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4227, allocations: 4 kB / 1.226 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4228, allocations: 31.92 kB / 1.226 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4229, allocations: 8 kB / 1.226 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.4235, allocations: 79.73 kB / 1.226 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.4236, allocations: 19.98 kB / 1.226 GB, free: 4.941 MB / 0.9669 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.0002431/0.4238, allocations: 198.8 kB / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.4239, allocations: 31.75 kB / 1.226 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.4239, allocations: 33.89 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4239, allocations: 0 / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4239, allocations: 8 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4239, allocations: 0 / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.4243, allocations: 281.5 kB / 1.226 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4243, allocations: 4 kB / 1.226 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.4243, allocations: 4 kB / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4243, allocations: 3.938 kB / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4243, allocations: 11.98 kB / 1.226 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4243, allocations: 0 / 1.226 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4243, allocations: 4 kB / 1.226 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.425, allocations: 436.4 kB / 1.227 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.4251, allocations: 108.8 kB / 1.227 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.4251, allocations: 11.92 kB / 1.227 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.4252, allocations: 4 kB / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.4252, allocations: 15.98 kB / 1.227 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.4253, allocations: 15.98 kB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003489/0.4256, allocations: 291 kB / 1.227 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4256, allocations: 0 / 1.227 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003801/0.426, allocations: 75.94 kB / 1.227 GB, free: 3.34 MB / 0.9669 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.0002844/0.4263, allocations: 143 kB / 1.227 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.4267, allocations: 256.2 kB / 1.228 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4267, allocations: 4.25 kB / 1.228 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.4269, allocations: 115.9 kB / 1.228 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.4272, allocations: 20.64 kB / 1.228 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.4281, allocations: 0.5762 MB / 1.228 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.4286, allocations: 0.7636 MB / 1.229 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.4287, allocations: 50.11 kB / 1.229 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.4288, allocations: 27.44 kB / 1.229 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.4288, allocations: 0 / 1.229 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of Templates: time 0.01018/0.439, allocations: 5.071 MB / 1.234 GB, free: 12.3 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.044385720044374]