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.001085/0.001085, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009812/0.0009812, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.979/0.979, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.112/2.112, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.983e-06/1.983e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.737e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001348/0.001376, allocations: 0.7007 MB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.002837, allocations: 1.382 MB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.002896, allocations: 1.125 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.003345, allocations: 194.8 kB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.003421, allocations: 101 kB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.003911, allocations: 240.9 kB / 0.8807 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.00429, allocations: 485.3 kB / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.00433, allocations: 4 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.004552, allocations: 259.6 kB / 0.8815 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.004862, allocations: 222.1 kB / 0.8817 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.004929, allocations: 20 kB / 0.8817 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.005119, allocations: 99.83 kB / 0.8818 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.005414, allocations: 267.5 kB / 0.882 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.005554, allocations: 111.8 kB / 0.8821 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.006012, allocations: 432.8 kB / 0.8826 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.006016, allocations: 4 kB / 0.8826 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006017, allocations: 0 / 0.8826 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.006023, allocations: 0 / 0.8826 GB, free: 2.188 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.0007647/0.006788, allocations: 0.6675 MB / 0.8832 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.006832, allocations: 8.031 kB / 0.8832 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.006958, allocations: 38.41 kB / 0.8833 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.007295, allocations: 296.6 kB / 0.8835 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.007312, allocations: 8.375 kB / 0.8835 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.007355, allocations: 20.38 kB / 0.8836 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.007562, allocations: 134.3 kB / 0.8837 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.00757, allocations: 4.172 kB / 0.8837 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.007587, allocations: 384 / 0.8837 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.007597, allocations: 8.375 kB / 0.8837 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.007676, allocations: 55.83 kB / 0.8838 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.007966, allocations: 279.9 kB / 0.884 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.008217, allocations: 201.2 kB / 0.8842 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.008296, allocations: 67.03 kB / 0.8843 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-06/0.0083, allocations: 0 / 0.8843 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.008589, allocations: 258.3 kB / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.008591, allocations: 0 / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005584/0.009149, allocations: 369.3 kB / 0.8849 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.009218, allocations: 118.7 kB / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.009507, allocations: 382.2 kB / 0.8854 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.009551, allocations: 41.7 kB / 0.8854 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.009667, allocations: 207.5 kB / 0.8856 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.009707, allocations: 43.73 kB / 0.8856 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.009812, allocations: 115.3 kB / 0.8858 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.009964, allocations: 0.5274 MB / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.01003, allocations: 55.97 kB / 0.8863 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.01052, allocations: 1.069 MB / 0.8874 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.01071, allocations: 250.8 kB / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01072, allocations: 0 / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003018/0.01102, allocations: 269 kB / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01104, allocations: 8.406 kB / 0.8879 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01104, allocations: 8 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.01106, allocations: 7.984 kB / 0.8879 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.0112, allocations: 43.92 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.01121, allocations: 11.88 kB / 0.8879 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.0115, allocations: 64.52 kB / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.01152, allocations: 15.98 kB / 0.888 GB, free: 11.93 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.0001343/0.01165, allocations: 186.5 kB / 0.8882 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.01169, allocations: 40.03 kB / 0.8882 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.01174, allocations: 25.95 kB / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01174, allocations: 7.984 kB / 0.8883 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01175, allocations: 0 / 0.8883 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01175, allocations: 7.938 kB / 0.8883 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01194, allocations: 220.5 kB / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01194, allocations: 0 / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.01195, allocations: 7.938 kB / 0.8885 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01195, allocations: 4 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01196, allocations: 8 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01196, allocations: 3.984 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01197, allocations: 4 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.01232, allocations: 363.3 kB / 0.8889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.01235, allocations: 31.78 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.01237, allocations: 4 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.01242, allocations: 4 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.01248, allocations: 27.84 kB / 0.8889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.0125, allocations: 12 kB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001693/0.01267, allocations: 247 kB / 0.8892 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01267, allocations: 0 / 0.8892 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002692/0.01293, allocations: 79.92 kB / 0.8892 GB, free: 10.59 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.0001969/0.01313, allocations: 144 kB / 0.8894 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.01345, allocations: 191.9 kB / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01345, allocations: 0 / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.0136, allocations: 97.91 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.01391, allocations: 41.34 kB / 0.8897 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.01455, allocations: 498.5 kB / 0.8902 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.01461, allocations: 88.31 kB / 0.8903 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.002e-05/0.01469, allocations: 37.94 kB / 0.8903 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.01474, allocations: 36.48 kB / 0.8903 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.01474, allocations: 0 / 0.8903 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of Templates: time 0.007162/0.02191, allocations: 5.473 MB / 0.8957 GB, free: 4.082 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.812014285009354]