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.001391/0.001391, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001592/0.001592, allocations: 165 kB / 23.02 MB, free: 1.551 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.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.113/2.113, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.443e-06/1.443e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.827e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001251/0.001269, allocations: 0.697 MB / 0.8789 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.002583, allocations: 1.382 MB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.002634, allocations: 4 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.003033, allocations: 185.9 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.003117, allocations: 109.3 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.003569, allocations: 244 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.003913, allocations: 491.7 kB / 0.8812 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.003949, allocations: 4 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.004154, allocations: 251.7 kB / 0.8814 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.004396, allocations: 221 kB / 0.8817 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.004449, allocations: 24 kB / 0.8817 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.004604, allocations: 95.84 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.004848, allocations: 272.4 kB / 0.882 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.004949, allocations: 111.8 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.005351, allocations: 434.7 kB / 0.8826 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005353, allocations: 5.047 kB / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005354, allocations: 0 / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005359, allocations: 0 / 0.8826 GB, free: 1.832 MB / 0.8386 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.0006471/0.006006, allocations: 0.6602 MB / 0.8832 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.006037, allocations: 9.156 kB / 0.8832 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.00613, allocations: 40.73 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.006445, allocations: 296.5 kB / 0.8835 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.00646, allocations: 9.156 kB / 0.8835 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.006502, allocations: 20.38 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.006678, allocations: 130.8 kB / 0.8837 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.006689, allocations: 4.188 kB / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.006702, allocations: 384 / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.00671, allocations: 384 / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.006781, allocations: 56.47 kB / 0.8837 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.007025, allocations: 279.9 kB / 0.884 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.007252, allocations: 202.8 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.007325, allocations: 63.09 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.00733, allocations: 4 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.007554, allocations: 256.2 kB / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 9.42e-07/0.007555, allocations: 0 / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005137/0.008069, allocations: 373.4 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.008123, allocations: 119.6 kB / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.008386, allocations: 378.2 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.008433, allocations: 46.31 kB / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.008538, allocations: 207.5 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.008568, allocations: 41.33 kB / 0.8856 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.008675, allocations: 119.2 kB / 0.8857 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.008802, allocations: 0.5235 MB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.008865, allocations: 55.97 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.009312, allocations: 1.068 MB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.009493, allocations: 258.7 kB / 0.8876 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.009497, allocations: 4 kB / 0.8876 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002848/0.009781, allocations: 273.3 kB / 0.8879 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.009795, allocations: 8 kB / 0.8879 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.0098, allocations: 128 / 0.8879 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.009817, allocations: 8 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.009944, allocations: 47.91 kB / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.009954, allocations: 11.94 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.01022, allocations: 60.39 kB / 0.888 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01024, allocations: 8 kB / 0.888 GB, free: 11.6 MB / 0.8542 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.0001079/0.01034, allocations: 194.7 kB / 0.8882 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.01038, allocations: 35.81 kB / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.01042, allocations: 25.95 kB / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01042, allocations: 0 / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01042, allocations: 7.938 kB / 0.8882 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01043, allocations: 7.922 kB / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01058, allocations: 224.5 kB / 0.8885 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01058, allocations: 0 / 0.8885 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.01059, allocations: 7.984 kB / 0.8885 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01059, allocations: 4 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.0106, allocations: 8 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01061, allocations: 4 kB / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01061, allocations: 3.984 kB / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.01092, allocations: 365.3 kB / 0.8888 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.01095, allocations: 27.8 kB / 0.8889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.01097, allocations: 3.984 kB / 0.8889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.01102, allocations: 12 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.01105, allocations: 15.92 kB / 0.8889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01107, allocations: 15.98 kB / 0.8889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001453/0.01122, allocations: 247 kB / 0.8892 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01122, allocations: 4 kB / 0.8892 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002344/0.01145, allocations: 79.92 kB / 0.8892 GB, free: 10.25 MB / 0.8542 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.0001411/0.01159, allocations: 143.9 kB / 0.8894 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.01182, allocations: 192.5 kB / 0.8896 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01183, allocations: 4.188 kB / 0.8896 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.01192, allocations: 91.58 kB / 0.8896 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01209, allocations: 36.59 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.01258, allocations: 494.6 kB / 0.8902 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.998e-05/0.01263, allocations: 88.3 kB / 0.8902 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.459e-05/0.0127, allocations: 45.03 kB / 0.8903 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.01274, allocations: 28.5 kB / 0.8903 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.01274, allocations: 3.938 kB / 0.8903 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of Templates: time 0.00637/0.01911, allocations: 5.473 MB / 0.8957 GB, free: 3.738 MB / 0.8542 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 -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.708911022171378]