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.001067/0.001067, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001023/0.001023, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.504/2.504, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.252e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001384/0.001407, allocations: 0.731 MB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.002816, allocations: 1.38 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.002868, allocations: 3.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.003278, allocations: 203.5 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.00336, allocations: 103.7 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.003814, allocations: 231.2 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.00418, allocations: 487.8 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.004216, allocations: 4 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.004432, allocations: 263.6 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.004651, allocations: 167.7 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.004697, allocations: 16 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.004888, allocations: 99.83 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.005241, allocations: 187.6 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.005333, allocations: 111.8 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.005692, allocations: 426.8 kB / 0.8429 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005694, allocations: 0 / 0.8429 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.322e-06/0.005695, allocations: 4 kB / 0.8429 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.005701, allocations: 7.938 kB / 0.8429 GB, free: 9.766 MB / 0.8073 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.0005899/0.006291, allocations: 0.5108 MB / 0.8434 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.006323, allocations: 8.625 kB / 0.8434 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.006391, allocations: 24.91 kB / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.006645, allocations: 249.8 kB / 0.8437 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.006661, allocations: 16.36 kB / 0.8437 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.006702, allocations: 24.36 kB / 0.8437 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.006844, allocations: 111.5 kB / 0.8438 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.00685, allocations: 4.188 kB / 0.8438 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.00686, allocations: 384 / 0.8438 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006865, allocations: 384 / 0.8438 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.006917, allocations: 44.33 kB / 0.8439 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.007063, allocations: 127.2 kB / 0.844 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.007226, allocations: 141.9 kB / 0.8441 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.007279, allocations: 38.56 kB / 0.8442 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.007283, allocations: 0 / 0.8442 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.007504, allocations: 230.1 kB / 0.8444 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 9.42e-07/0.007505, allocations: 0 / 0.8444 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002727/0.007777, allocations: 202 kB / 0.8446 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.007829, allocations: 110.8 kB / 0.8447 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.008004, allocations: 274.9 kB / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.008042, allocations: 37.7 kB / 0.845 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.008105, allocations: 121.3 kB / 0.8451 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.008136, allocations: 39.72 kB / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.008241, allocations: 101.6 kB / 0.8452 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.008333, allocations: 346.7 kB / 0.8456 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.00838, allocations: 38.8 kB / 0.8456 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.008758, allocations: 0.9352 MB / 0.8465 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.008911, allocations: 196.8 kB / 0.8467 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008913, allocations: 0 / 0.8467 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002084/0.009121, allocations: 218 kB / 0.8469 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.009136, allocations: 8 kB / 0.8469 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.009142, allocations: 4 kB / 0.8469 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.009154, allocations: 4 kB / 0.8469 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.009293, allocations: 43.91 kB / 0.847 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.0093, allocations: 7.938 kB / 0.847 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.00957, allocations: 60.62 kB / 0.847 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.009585, allocations: 11.94 kB / 0.847 GB, free: 4.961 MB / 0.8073 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.0001186/0.009704, allocations: 158.7 kB / 0.8472 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.009734, allocations: 19.97 kB / 0.8472 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.009771, allocations: 25.95 kB / 0.8472 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.009775, allocations: 4 kB / 0.8472 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.009777, allocations: 0 / 0.8472 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.00978, allocations: 0 / 0.8472 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.009904, allocations: 145.6 kB / 0.8474 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009906, allocations: 0 / 0.8474 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.009917, allocations: 4 kB / 0.8474 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.00992, allocations: 8.062 kB / 0.8474 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.00993, allocations: 15.98 kB / 0.8474 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009932, allocations: 0 / 0.8474 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.009935, allocations: 7.938 kB / 0.8474 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.01011, allocations: 184.5 kB / 0.8476 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01014, allocations: 27.84 kB / 0.8476 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.01015, allocations: 0 / 0.8476 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.01021, allocations: 8 kB / 0.8476 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.01024, allocations: 15.97 kB / 0.8476 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01026, allocations: 8 kB / 0.8476 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.01035, allocations: 104.6 kB / 0.8477 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 4 kB / 0.8477 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002287/0.01057, allocations: 79.92 kB / 0.8478 GB, free: 4.094 MB / 0.8073 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.0001747/0.01075, allocations: 132.6 kB / 0.8479 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.01093, allocations: 140.5 kB / 0.8481 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.01093, allocations: 4.812 kB / 0.8481 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.011, allocations: 60.77 kB / 0.8481 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.01115, allocations: 36.59 kB / 0.8482 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.01166, allocations: 450.9 kB / 0.8486 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.01171, allocations: 100.2 kB / 0.8487 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.146e-05/0.01178, allocations: 33.94 kB / 0.8487 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/0.01224, allocations: 119.3 kB / 0.8489 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.01224, allocations: 0 / 0.8489 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of Templates: time 0.007464/0.0197, allocations: 5.865 MB / 0.8546 GB, free: 13.25 MB / 0.823 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.454679632093757]