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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 103.1 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.392/3.392, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 72.48 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002039/0.3436, allocations: 0.6839 MB / 1.305 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3456, allocations: 1.354 MB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.3457, allocations: 0 / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.3461, allocations: 183.5 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.3463, allocations: 107.7 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.3471, allocations: 235.2 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006398/0.3477, allocations: 495.7 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3478, allocations: 7.984 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.3481, allocations: 203.7 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.3486, allocations: 231.4 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3487, allocations: 20 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.349, allocations: 95.86 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.3494, allocations: 263.5 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.3496, allocations: 151.3 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.3502, allocations: 482.7 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3502, allocations: 4 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3502, allocations: 0 / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.3502, allocations: 0 / 1.308 GB, free: 13.07 MB / 1.014 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.001173/0.3514, allocations: 0.6383 MB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.3515, allocations: 12.92 kB / 1.309 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.3515, allocations: 34.75 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3516, allocations: 36.75 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.3523, allocations: 396.2 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3523, allocations: 12.38 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.3524, allocations: 24.38 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.3527, allocations: 184.7 kB / 1.31 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3527, allocations: 3.938 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.3528, allocations: 3.984 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.3528, allocations: 4 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3529, allocations: 107.9 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.3534, allocations: 383.1 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.3539, allocations: 315.6 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.354, allocations: 126.6 kB / 1.311 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.354, allocations: 4 kB / 1.311 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.3545, allocations: 285.6 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.3545, allocations: 0 / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.0008551/0.3554, allocations: 0.4894 MB / 1.311 GB, free: 9.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.3555, allocations: 118.8 kB / 1.311 GB, free: 9.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.3559, allocations: 396.5 kB / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.356, allocations: 37.7 kB / 1.312 GB, free: 9.238 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3561, allocations: 156.7 kB / 1.312 GB, free: 9.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3562, allocations: 43.72 kB / 1.312 GB, free: 9.035 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.3564, allocations: 121.5 kB / 1.312 GB, free: 8.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3565, allocations: 342.8 kB / 1.312 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3567, allocations: 83.95 kB / 1.313 GB, free: 8.484 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.3572, allocations: 472.3 kB / 1.313 GB, free: 7.898 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.3575, allocations: 261.6 kB / 1.313 GB, free: 7.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3575, allocations: 0 / 1.313 GB, free: 7.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005169/0.358, allocations: 329.4 kB / 1.314 GB, free: 7.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3581, allocations: 11.94 kB / 1.314 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3581, allocations: 4 kB / 1.314 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3581, allocations: 4 kB / 1.314 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3583, allocations: 31.92 kB / 1.314 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.3583, allocations: 16.55 kB / 1.314 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.359, allocations: 69.31 kB / 1.314 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.359, allocations: 16 kB / 1.314 GB, free: 7.117 MB / 1.014 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.0002231/0.3592, allocations: 196 kB / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.3593, allocations: 31.75 kB / 1.314 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.3594, allocations: 33.89 kB / 1.314 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3594, allocations: 0 / 1.314 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3594, allocations: 4 kB / 1.314 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3594, allocations: 0 / 1.314 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3597, allocations: 285.4 kB / 1.314 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3597, allocations: 8 kB / 1.314 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.3597, allocations: 0 / 1.314 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3597, allocations: 7.938 kB / 1.314 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3597, allocations: 7.984 kB / 1.314 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3597, allocations: 0 / 1.314 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3597, allocations: 3.938 kB / 1.314 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.3603, allocations: 438.4 kB / 1.315 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.3604, allocations: 112.8 kB / 1.315 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.3604, allocations: 4 kB / 1.315 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.3605, allocations: 4 kB / 1.315 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.3606, allocations: 19.97 kB / 1.315 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.3606, allocations: 12 kB / 1.315 GB, free: 5.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003186/0.3609, allocations: 287 kB / 1.315 GB, free: 5.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 0 / 1.315 GB, free: 5.594 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003829/0.3613, allocations: 75.94 kB / 1.315 GB, free: 5.52 MB / 1.014 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.001057/0.3624, allocations: 1.011 MB / 1.316 GB, free: 4.473 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.3628, allocations: 259.7 kB / 1.316 GB, free: 4.219 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3628, allocations: 0 / 1.316 GB, free: 4.219 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.363, allocations: 123.8 kB / 1.317 GB, free: 4.098 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3633, allocations: 24.64 kB / 1.317 GB, free: 4.074 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.3672, allocations: 3.273 MB / 1.32 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.3676, allocations: 0.7597 MB / 1.32 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.3678, allocations: 50.17 kB / 1.321 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3679, allocations: 87.39 kB / 1.321 GB, free: 15.69 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3679, allocations: 7.938 kB / 1.321 GB, free: 15.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.4012, allocations: 7.656 MB / 1.328 GB, free: 8.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.851, allocations: 16.97 kB / 1.328 GB, free: 8.293 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.87569473683834]