Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001219/0.001219, allocations: 185 kB / 498.1 MB, free: 5.691 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.471/1.471, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001051/0.001051, allocations: 103.8 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 13.88 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4434, allocations: 153.2 MB / 1.373 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4437, allocations: 79.95 kB / 1.373 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06543/0.5092, allocations: 23.8 MB / 1.396 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5092, allocations: 0 / 1.396 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.375e-05/0.5093, allocations: 16 kB / 1.396 GB, free: 0.8047 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002135/0.5114, allocations: 0.9654 MB / 1.397 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5115, allocations: 8.031 kB / 1.397 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/0.5116, allocations: 42.55 kB / 1.397 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.5118, allocations: 79.02 kB / 1.397 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.5135, allocations: 0.6943 MB / 1.398 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.5136, allocations: 11.98 kB / 1.398 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.5136, allocations: 12 kB / 1.398 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.514, allocations: 205.8 kB / 1.398 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.514, allocations: 4 kB / 1.398 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.5141, allocations: 7.984 kB / 1.398 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5141, allocations: 4 kB / 1.398 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.5144, allocations: 115.8 kB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.5161, allocations: 1.106 MB / 1.399 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.5167, allocations: 293.3 kB / 1.399 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5168, allocations: 4 kB / 1.399 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.5172, allocations: 248.9 kB / 1.4 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.5172, allocations: 0 / 1.4 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.00106/0.5183, allocations: 436.5 kB / 1.4 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5184, allocations: 162.2 kB / 1.4 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.5198, allocations: 0.9569 MB / 1.401 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.5199, allocations: 33.7 kB / 1.401 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.5201, allocations: 288.8 kB / 1.401 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.5202, allocations: 79.14 kB / 1.401 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.5203, allocations: 12 kB / 1.401 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5204, allocations: 330 kB / 1.402 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.5209, allocations: 253.2 kB / 1.402 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.5215, allocations: 354.9 kB / 1.402 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.522, allocations: 287.4 kB / 1.403 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.522, allocations: 0 / 1.403 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001394/0.5234, allocations: 0.7616 MB / 1.403 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5235, allocations: 7.953 kB / 1.403 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5235, allocations: 4 kB / 1.403 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5235, allocations: 8.156 kB / 1.403 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.5239, allocations: 115.8 kB / 1.404 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.524, allocations: 8 kB / 1.404 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.5243, allocations: 47.66 kB / 1.404 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.5244, allocations: 35.98 kB / 1.404 GB, free: 8.535 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003439/0.5247, allocations: 274.9 kB / 1.404 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5249, allocations: 75.05 kB / 1.404 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.5257, allocations: 407.2 kB / 1.404 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5257, allocations: 4 kB / 1.404 GB, free: 7.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5257, allocations: 3.984 kB / 1.404 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5257, allocations: 4 kB / 1.404 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.5263, allocations: 485.1 kB / 1.405 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5263, allocations: 7.938 kB / 1.405 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5264, allocations: 31.98 kB / 1.405 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5264, allocations: 4 kB / 1.405 GB, free: 7.195 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.5264, allocations: 11.98 kB / 1.405 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5265, allocations: 7.953 kB / 1.405 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5265, allocations: 0 / 1.405 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.5273, allocations: 479.3 kB / 1.405 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.5275, allocations: 172.1 kB / 1.406 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.5276, allocations: 16.3 kB / 1.406 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.5278, allocations: 27.98 kB / 1.406 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.5279, allocations: 23.97 kB / 1.406 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.5279, allocations: 15.94 kB / 1.406 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008449/0.5288, allocations: 0.62 MB / 1.406 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5288, allocations: 3.938 kB / 1.406 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005685/0.5294, allocations: 151.8 kB / 1.406 GB, free: 5.617 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002296/0.5317, allocations: 1.68 MB / 1.408 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008246/0.5325, allocations: 423.6 kB / 1.408 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5325, allocations: 3.938 kB / 1.408 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.5328, allocations: 119.9 kB / 1.409 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.5336, allocations: 188.1 kB / 1.409 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.5374, allocations: 3.059 MB / 1.412 GB, free: 192 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.5381, allocations: 0.9483 MB / 1.413 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.5385, allocations: 117 kB / 1.413 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.5389, allocations: 227.3 kB / 1.413 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of SimCode: time 3.296e-06/0.5389, allocations: 0 / 1.413 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.5719, allocations: 13.87 MB / 1.426 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.5722, allocations: 262.6 kB / 1.427 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.848, allocations: 0 / 1.427 GB, free: 0.9414 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat