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.0009639/0.0009639, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001496/0.001496, allocations: 170 kB / 23.28 MB, free: 1.223 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.9568/0.9568, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.332/2.332, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 3.026e-06/3.026e-06, allocations: 0 / 0.8897 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.399e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001602/0.001626, allocations: 0.6917 MB / 0.8904 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.00338, allocations: 1.369 MB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.003449, allocations: 4 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.003954, allocations: 199.4 kB / 0.892 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.004074, allocations: 107.7 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.004675, allocations: 243.2 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.005163, allocations: 487.8 kB / 0.8928 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.005204, allocations: 4 kB / 0.8928 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.00549, allocations: 255.6 kB / 0.893 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.005769, allocations: 183.7 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.005833, allocations: 20 kB / 0.8932 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.006046, allocations: 107.8 kB / 0.8933 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.006284, allocations: 199.6 kB / 0.8935 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.006414, allocations: 119.7 kB / 0.8936 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.006876, allocations: 430.8 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006878, allocations: 0 / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006878, allocations: 0 / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006883, allocations: 0 / 0.894 GB, free: 5.348 MB / 0.8542 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.0008356/0.007718, allocations: 0.6745 MB / 0.8947 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.007764, allocations: 12.62 kB / 0.8947 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.007874, allocations: 36.78 kB / 0.8947 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.00822, allocations: 260.7 kB / 0.895 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.008244, allocations: 16.38 kB / 0.895 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.008305, allocations: 20.36 kB / 0.895 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.0085, allocations: 121.1 kB / 0.8951 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.008508, allocations: 4.125 kB / 0.8951 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.008523, allocations: 4.375 kB / 0.8951 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.008529, allocations: 384 / 0.8951 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.008595, allocations: 35.84 kB / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.008898, allocations: 232.5 kB / 0.8954 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.009128, allocations: 161.2 kB / 0.8955 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.009202, allocations: 59.09 kB / 0.8956 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.009215, allocations: 4 kB / 0.8956 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.00947, allocations: 234.6 kB / 0.8958 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.009471, allocations: 0 / 0.8958 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003916/0.009863, allocations: 309.4 kB / 0.8961 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.009915, allocations: 122.7 kB / 0.8962 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.01014, allocations: 366.1 kB / 0.8966 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.01019, allocations: 41.69 kB / 0.8966 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.0103, allocations: 211.5 kB / 0.8968 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.01033, allocations: 39.72 kB / 0.8969 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.01044, allocations: 123.2 kB / 0.897 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.01057, allocations: 0.5273 MB / 0.8975 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.01061, allocations: 35.97 kB / 0.8975 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.01109, allocations: 1.052 MB / 0.8986 GB, free: 100 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01126, allocations: 234.8 kB / 0.8988 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01126, allocations: 0 / 0.8988 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002431/0.0115, allocations: 237.1 kB / 0.899 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01152, allocations: 11.98 kB / 0.899 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01153, allocations: 4 kB / 0.899 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01154, allocations: 4 kB / 0.899 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.01166, allocations: 43.86 kB / 0.8991 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01167, allocations: 7.938 kB / 0.8991 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.01204, allocations: 72.72 kB / 0.8991 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01206, allocations: 8.125 kB / 0.8992 GB, free: 15.41 MB / 0.8698 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.0001209/0.01218, allocations: 186.5 kB / 0.8993 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.01222, allocations: 39.8 kB / 0.8994 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01226, allocations: 29.95 kB / 0.8994 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01226, allocations: 0 / 0.8994 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01226, allocations: 0 / 0.8994 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01227, allocations: 4 kB / 0.8994 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.0124, allocations: 181.1 kB / 0.8996 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0124, allocations: 4 kB / 0.8996 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.01241, allocations: 7.938 kB / 0.8996 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01242, allocations: 0 / 0.8996 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01243, allocations: 7.984 kB / 0.8996 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01243, allocations: 0 / 0.8996 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01243, allocations: 4 kB / 0.8996 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.01271, allocations: 323.4 kB / 0.8999 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.01273, allocations: 24.03 kB / 0.8999 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01275, allocations: 4 kB / 0.8999 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.0128, allocations: 7.984 kB / 0.8999 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.01284, allocations: 27.91 kB / 0.9 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.01285, allocations: 11.98 kB / 0.9 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001264/0.01298, allocations: 238.9 kB / 0.9002 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01298, allocations: 0 / 0.9002 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002444/0.01322, allocations: 75.94 kB / 0.9003 GB, free: 14.19 MB / 0.8698 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.0001468/0.01337, allocations: 147.9 kB / 0.9004 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.01356, allocations: 151.7 kB / 0.9006 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01356, allocations: 4 kB / 0.9006 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.01363, allocations: 77.28 kB / 0.9006 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.01384, allocations: 32.59 kB / 0.9007 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.01444, allocations: 474.6 kB / 0.9011 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.0145, allocations: 92.3 kB / 0.9012 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.01457, allocations: 34.44 kB / 0.9012 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.01473, allocations: 146.1 kB / 0.9014 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of SimCode: time 7.02e-07/0.01474, allocations: 0 / 0.9014 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of Templates: time 0.007415/0.02215, allocations: 5.822 MB / 0.9071 GB, free: 7.293 MB / 0.8698 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.300663599278778]