Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.412/2.412, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001056/0.001056, allocations: 179.9 kB / 0.4902 GB, free: 2.25 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.61/1.61, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.001054/0.001054, allocations: 88.22 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 14.69 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.528, allocations: 154 MB / 1.38 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5284, allocations: 83.94 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06319/0.5916, allocations: 23.79 MB / 1.403 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5916, allocations: 0 / 1.403 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.741e-05/0.5917, allocations: 19.92 kB / 1.403 GB, free: 7.641 MB / 0.9011 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.001659/0.5934, allocations: 0.9606 MB / 1.404 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5934, allocations: 16.56 kB / 1.404 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.5936, allocations: 79 kB / 1.404 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.595, allocations: 0.6904 MB / 1.405 GB, free: 5.801 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.595, allocations: 8 kB / 1.405 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.5951, allocations: 15.94 kB / 1.405 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.5955, allocations: 206.7 kB / 1.405 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5955, allocations: 0 / 1.405 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.5955, allocations: 4 kB / 1.405 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.5956, allocations: 7.938 kB / 1.405 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.5958, allocations: 115.8 kB / 1.405 GB, free: 5.43 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.5973, allocations: 1.114 MB / 1.406 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.5979, allocations: 285.3 kB / 1.406 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.598, allocations: 4 kB / 1.406 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.5984, allocations: 240.9 kB / 1.407 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/0.5984, allocations: 3.984 kB / 1.407 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.0009879/0.5994, allocations: 437.6 kB / 1.407 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.5995, allocations: 166.2 kB / 1.407 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6008, allocations: 0.9608 MB / 1.408 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.6008, allocations: 37.7 kB / 1.408 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.6011, allocations: 284.9 kB / 1.408 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.6011, allocations: 75.08 kB / 1.409 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.6012, allocations: 19.98 kB / 1.409 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6013, allocations: 322 kB / 1.409 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.6018, allocations: 261.2 kB / 1.409 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.6023, allocations: 347 kB / 1.409 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.6028, allocations: 287.5 kB / 1.41 GB, free: 420 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6028, allocations: 0 / 1.41 GB, free: 420 kB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00127/0.604, allocations: 0.7619 MB / 1.41 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6041, allocations: 15.94 kB / 1.41 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6041, allocations: 4 kB / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.6041, allocations: 8 kB / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.6046, allocations: 115.8 kB / 1.411 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6046, allocations: 4 kB / 1.411 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.6049, allocations: 47.67 kB / 1.411 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.605, allocations: 39.98 kB / 1.411 GB, free: 15.41 MB / 0.9167 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.0003381/0.6054, allocations: 269.6 kB / 1.411 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6055, allocations: 79.06 kB / 1.411 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.6062, allocations: 399.1 kB / 1.411 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6063, allocations: 4.312 kB / 1.411 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6063, allocations: 7.938 kB / 1.411 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6063, allocations: 3.938 kB / 1.411 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.6068, allocations: 0.4932 MB / 1.412 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6068, allocations: 0 / 1.412 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.175e-05/0.6069, allocations: 27.98 kB / 1.412 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6069, allocations: 0 / 1.412 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.607, allocations: 8 kB / 1.412 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.607, allocations: 15.88 kB / 1.412 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.607, allocations: 0 / 1.412 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.6077, allocations: 475.6 kB / 1.412 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.6079, allocations: 172.1 kB / 1.413 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.608, allocations: 16 kB / 1.413 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.6082, allocations: 15.98 kB / 1.413 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.6083, allocations: 27.91 kB / 1.413 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.6083, allocations: 23.94 kB / 1.413 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007842/0.6091, allocations: 0.6161 MB / 1.413 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6091, allocations: 0 / 1.413 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000485/0.6096, allocations: 139.9 kB / 1.413 GB, free: 12.52 MB / 0.9167 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.0012/0.6108, allocations: 0.5046 MB / 1.414 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.6116, allocations: 438.1 kB / 1.414 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6116, allocations: 0 / 1.414 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.6119, allocations: 123.8 kB / 1.414 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.6127, allocations: 185.2 kB / 1.415 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.6144, allocations: 1.25 MB / 1.416 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.615, allocations: 0.9443 MB / 1.417 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.6153, allocations: 121.6 kB / 1.417 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.6155, allocations: 63.41 kB / 1.417 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.6155, allocations: 0 / 1.417 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of Templates: time 0.01557/0.6311, allocations: 7.667 MB / 1.424 GB, free: 1.445 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches