Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001446/0.001446, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001605/0.001605, allocations: 172.7 kB / 22.46 MB, free: 5.352 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.932/2.932, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Integers.Sources.Validation.TimeTableNegativeStartTime,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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.842e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002423/0.002461, allocations: 0.6705 MB / 1.001 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.005046, allocations: 1.357 MB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.005153, allocations: 4 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.005841, allocations: 187.4 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.006038, allocations: 115.6 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.007073, allocations: 226.9 kB / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008231/0.007896, allocations: 499.7 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.007968, allocations: 4 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.008571, allocations: 247.7 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.009084, allocations: 219.6 kB / 1.004 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.009263, allocations: 27.98 kB / 1.004 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.009719, allocations: 91.84 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.01024, allocations: 275.4 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.01053, allocations: 111.8 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.01146, allocations: 0.5338 MB / 1.005 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.01146, allocations: 3.938 kB / 1.005 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.863e-06/0.01146, allocations: 4 kB / 1.005 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.01148, allocations: 0 / 1.005 GB, free: 2.742 MB / 0.9512 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.0015/0.01298, allocations: 0.567 MB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.01303, allocations: 12.03 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.01325, allocations: 32.75 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.01403, allocations: 321.7 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.01406, allocations: 12.38 kB / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.01414, allocations: 20.38 kB / 1.006 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.01452, allocations: 200.7 kB / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01454, allocations: 4.125 kB / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.01456, allocations: 384 / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.01456, allocations: 384 / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.01477, allocations: 111.9 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.01542, allocations: 267 kB / 1.006 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.01599, allocations: 311.6 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.0162, allocations: 126.5 kB / 1.006 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.01622, allocations: 4 kB / 1.006 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005679/0.01679, allocations: 285.5 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.01679, allocations: 0 / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.001112/0.0179, allocations: 0.4936 MB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.01803, allocations: 110.8 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.01864, allocations: 404.4 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.01874, allocations: 41.69 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.01894, allocations: 152.7 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.01902, allocations: 39.78 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.01927, allocations: 121.6 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003129/0.01958, allocations: 342.8 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.01976, allocations: 83.95 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.02102, allocations: 1.084 MB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.02146, allocations: 261.4 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.02147, allocations: 0 / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007065/0.02218, allocations: 333.4 kB / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.0222, allocations: 8 kB / 1.01 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.02222, allocations: 8 kB / 1.01 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.02224, allocations: 4 kB / 1.01 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.02244, allocations: 27.92 kB / 1.01 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.02245, allocations: 11.88 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.02328, allocations: 72.45 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.02331, allocations: 12.16 kB / 1.01 GB, free: 12.37 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.0003126/0.02362, allocations: 200.1 kB / 1.01 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.0237, allocations: 31.81 kB / 1.01 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.02377, allocations: 37.89 kB / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.02378, allocations: 4 kB / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.02379, allocations: 0 / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.0238, allocations: 7.938 kB / 1.011 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.0241, allocations: 197.2 kB / 1.011 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0241, allocations: 8 kB / 1.011 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.02413, allocations: 11.94 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.02414, allocations: 3.984 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.02416, allocations: 4 kB / 1.011 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.02416, allocations: 0 / 1.011 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.02417, allocations: 4 kB / 1.011 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.02487, allocations: 436.1 kB / 1.011 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.02493, allocations: 23.84 kB / 1.011 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.02497, allocations: 8 kB / 1.011 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.02506, allocations: 4 kB / 1.011 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.02513, allocations: 31.84 kB / 1.011 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.02516, allocations: 12 kB / 1.011 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003694/0.02553, allocations: 291 kB / 1.012 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02553, allocations: 0 / 1.012 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004548/0.02598, allocations: 83.86 kB / 1.012 GB, free: 10.94 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.0003714/0.02636, allocations: 131.7 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005362/0.02689, allocations: 256.2 kB / 1.012 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.0269, allocations: 0 / 1.012 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.02712, allocations: 123.9 kB / 1.012 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.02744, allocations: 24.64 kB / 1.012 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.02863, allocations: 0.5711 MB / 1.013 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.02886, allocations: 153.4 kB / 1.013 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.02903, allocations: 50.17 kB / 1.013 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.02912, allocations: 28.48 kB / 1.013 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of SimCode: time 1.293e-06/0.02912, allocations: 4 kB / 1.013 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of Templates: time 0.0123/0.04143, allocations: 5.406 MB / 1.018 GB, free: 4.258 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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: 8.561486128717661]