Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.386/2.386, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001397, allocations: 184.8 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 83.97 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.124e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.29, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8864/1.176, allocations: 149.7 MB / 1.359 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/1.177, allocations: 72.81 kB / 1.359 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1167/1.293, allocations: 46.02 MB / 1.404 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.293, allocations: 0 / 1.404 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.462e-05/1.293, allocations: 12 kB / 1.404 GB, free: 21.9 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001108/1.295, allocations: 0.6243 MB / 1.404 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.295, allocations: 12.03 kB / 1.404 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/1.295, allocations: 51.44 kB / 1.404 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/1.296, allocations: 0.5306 MB / 1.405 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.296, allocations: 4 kB / 1.405 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.296, allocations: 24 kB / 1.405 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002855/1.296, allocations: 217.1 kB / 1.405 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/1.296, allocations: 293.5 kB / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.296, allocations: 0 / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.297, allocations: 7.984 kB / 1.405 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.297, allocations: 0 / 1.405 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/1.298, allocations: 1.139 MB / 1.407 GB, free: 19.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/1.299, allocations: 458.6 kB / 1.407 GB, free: 19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/1.299, allocations: 181.8 kB / 1.407 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/1.299, allocations: 0 / 1.407 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/1.299, allocations: 336.5 kB / 1.407 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/1.299, allocations: 0 / 1.407 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0007267/1.3, allocations: 484.6 kB / 1.408 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.3, allocations: 118.5 kB / 1.408 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/1.3, allocations: 0.5255 MB / 1.409 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/1.301, allocations: 29.7 kB / 1.409 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/1.301, allocations: 215.7 kB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/1.301, allocations: 55.17 kB / 1.409 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/1.301, allocations: 0 / 1.409 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.301, allocations: 362 kB / 1.409 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/1.301, allocations: 125.9 kB / 1.409 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/1.302, allocations: 0.6871 MB / 1.41 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/1.302, allocations: 201.5 kB / 1.41 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.302, allocations: 0 / 1.41 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007171/1.303, allocations: 432.5 kB / 1.411 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.303, allocations: 8 kB / 1.411 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.303, allocations: 4 kB / 1.411 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.303, allocations: 4 kB / 1.411 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.303, allocations: 35.91 kB / 1.411 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.303, allocations: 7.938 kB / 1.411 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.304, allocations: 88.5 kB / 1.411 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.304, allocations: 15.62 kB / 1.411 GB, free: 15.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.304, allocations: 150.2 kB / 1.411 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005782/1.305, allocations: 481.2 kB / 1.411 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/1.305, allocations: 43.44 kB / 1.411 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/1.305, allocations: 47.44 kB / 1.411 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.305, allocations: 4 kB / 1.411 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.305, allocations: 7.969 kB / 1.411 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.305, allocations: 4 kB / 1.411 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/1.306, allocations: 365.6 kB / 1.412 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.306, allocations: 3.953 kB / 1.412 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/1.306, allocations: 11.94 kB / 1.412 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.306, allocations: 4 kB / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.306, allocations: 8.484 kB / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.306, allocations: 0 / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.306, allocations: 0 / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/1.306, allocations: 0.5396 MB / 1.412 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.307, allocations: 147.8 kB / 1.412 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/1.307, allocations: 0 / 1.412 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/1.307, allocations: 15.97 kB / 1.412 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/1.307, allocations: 31.03 kB / 1.412 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/1.307, allocations: 19.55 kB / 1.413 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000471/1.307, allocations: 411.1 kB / 1.413 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.307, allocations: 0 / 1.413 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000547/1.308, allocations: 103.8 kB / 1.413 GB, free: 13.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/1.309, allocations: 1.255 MB / 1.414 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004784/1.309, allocations: 336.9 kB / 1.415 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.309, allocations: 0 / 1.415 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/1.31, allocations: 180.9 kB / 1.415 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/1.31, allocations: 36.78 kB / 1.415 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.311, allocations: 0.7642 MB / 1.416 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/1.312, allocations: 0.8405 MB / 1.416 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002933/1.312, allocations: 99.22 kB / 1.416 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/1.312, allocations: 126.7 kB / 1.417 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.312, allocations: 0 / 1.417 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.344, allocations: 10.25 MB / 1.427 GB, free: 160 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.344, allocations: 185 kB / 1.427 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.569, allocations: 1.562 kB / 1.427 GB, free: 15.96 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat