Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001431/0.001431, allocations: 110 kB / 16.46 MB, free: 6.035 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.001302/0.001302, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00198/0.00198, allocations: 75.81 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8385, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002166/0.8406, allocations: 0.6857 MB / 1.269 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.843, allocations: 1.355 MB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.843, allocations: 0 / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.8436, allocations: 191.6 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.8437, allocations: 103.7 kB / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.8445, allocations: 234.4 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.8451, allocations: 499.6 kB / 1.272 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.8451, allocations: 0 / 1.272 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.8454, allocations: 211.7 kB / 1.272 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.8458, allocations: 223.5 kB / 1.272 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.8459, allocations: 27.98 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.8461, allocations: 79.94 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.8464, allocations: 271.4 kB / 1.273 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.8466, allocations: 147.3 kB / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.8472, allocations: 492.2 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8472, allocations: 0 / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8472, allocations: 4 kB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.8472, allocations: 0 / 1.273 GB, free: 0.6758 MB / 0.9669 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.001191/0.8484, allocations: 0.6422 MB / 1.274 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8484, allocations: 12.03 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.8485, allocations: 34.75 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.8486, allocations: 32.8 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.8493, allocations: 388.2 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.8493, allocations: 16.36 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.8494, allocations: 24.38 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.8497, allocations: 192.6 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8497, allocations: 3.938 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.8497, allocations: 0 / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8497, allocations: 4 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.8499, allocations: 107.9 kB / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.8504, allocations: 387.1 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.8508, allocations: 315.6 kB / 1.275 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.851, allocations: 122.6 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.851, allocations: 8 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.8515, allocations: 277.6 kB / 1.276 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.8515, allocations: 4 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.000829/0.8524, allocations: 0.4934 MB / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.8525, allocations: 110.8 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.853, allocations: 404.4 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.853, allocations: 37.7 kB / 1.277 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.8532, allocations: 160.7 kB / 1.277 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.8533, allocations: 43.69 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.8535, allocations: 113.6 kB / 1.277 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.8537, allocations: 346.8 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.8538, allocations: 91.89 kB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.8544, allocations: 467.5 kB / 1.278 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.8547, allocations: 253.5 kB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8547, allocations: 0 / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006052/0.8553, allocations: 325.1 kB / 1.278 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.8553, allocations: 12.34 kB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.8554, allocations: 11.94 kB / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.8554, allocations: 4 kB / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.8555, allocations: 31.92 kB / 1.278 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.8556, allocations: 8 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.8562, allocations: 66.45 kB / 1.278 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.8563, allocations: 16 kB / 1.278 GB, free: 10.72 MB / 0.9825 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.0002318/0.8565, allocations: 200.5 kB / 1.279 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.8565, allocations: 31.75 kB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.8566, allocations: 33.89 kB / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.8566, allocations: 0 / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8566, allocations: 4 kB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8566, allocations: 0 / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.8569, allocations: 289.4 kB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.8569, allocations: 4 kB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.857, allocations: 7.938 kB / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.857, allocations: 7.938 kB / 1.279 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.857, allocations: 8.109 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.857, allocations: 7.938 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.857, allocations: 0 / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.8576, allocations: 434.4 kB / 1.279 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.8577, allocations: 112.8 kB / 1.28 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.8577, allocations: 8 kB / 1.28 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.8578, allocations: 7.938 kB / 1.28 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.8579, allocations: 16.22 kB / 1.28 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.8579, allocations: 15.98 kB / 1.28 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003284/0.8582, allocations: 287 kB / 1.28 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8582, allocations: 0 / 1.28 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003764/0.8586, allocations: 79.88 kB / 1.28 GB, free: 9.105 MB / 0.9825 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.001052/0.8596, allocations: 1.006 MB / 1.281 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.8601, allocations: 260.3 kB / 1.281 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8601, allocations: 0 / 1.281 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.8603, allocations: 115.9 kB / 1.281 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.8606, allocations: 28.64 kB / 1.281 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.8646, allocations: 3.249 MB / 1.284 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.8651, allocations: 0.7597 MB / 1.285 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.8652, allocations: 53.94 kB / 1.285 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.8653, allocations: 87.39 kB / 1.285 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of SimCode: time 1.283e-06/0.8653, allocations: 0 / 1.285 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.9013, allocations: 7.665 MB / 1.293 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.503, allocations: 12.27 kB / 1.293 GB, free: 11.88 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.641431934200227]