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.249/2.249, allocations: 390.5 MB / 398 MB, free: 10.96 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.001387/0.001387, allocations: 171.9 kB / 491.2 MB, free: 1.621 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.794/1.794, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009561/0.0009562, allocations: 95.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.917e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3407, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.462, allocations: 153.3 MB / 1.362 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.462, allocations: 77.73 kB / 1.362 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05575/1.518, allocations: 23.54 MB / 1.385 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.765e-06/1.518, allocations: 7.844 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.96e-05/1.518, allocations: 15.69 kB / 1.385 GB, free: 29.05 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001209/1.519, allocations: 0.7696 MB / 1.386 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.519, allocations: 7.75 kB / 1.386 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/1.52, allocations: 85.75 kB / 1.386 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.521, allocations: 0.6868 MB / 1.387 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.521, allocations: 7.312 kB / 1.387 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/1.521, allocations: 7.375 kB / 1.387 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001835/1.521, allocations: 91.39 kB / 1.387 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.521, allocations: 186.1 kB / 1.387 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/1.521, allocations: 3.938 kB / 1.387 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/1.521, allocations: 3.844 kB / 1.387 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.521, allocations: 3.953 kB / 1.387 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/1.523, allocations: 1.082 MB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/1.523, allocations: 251 kB / 1.388 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.523, allocations: 103.6 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/1.523, allocations: 15.55 kB / 1.388 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/1.523, allocations: 216.9 kB / 1.389 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 3.066e-06/1.523, allocations: 0 / 1.389 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0005123/1.524, allocations: 325.2 kB / 1.389 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.524, allocations: 161.4 kB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/1.525, allocations: 0.906 MB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/1.525, allocations: 29.45 kB / 1.39 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.525, allocations: 296.9 kB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/1.525, allocations: 73.62 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/1.525, allocations: 0 / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.525, allocations: 331.7 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/1.526, allocations: 232.8 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/1.526, allocations: 328.9 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/1.527, allocations: 303.5 kB / 1.391 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.527, allocations: 0 / 1.391 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001118/1.528, allocations: 0.7437 MB / 1.392 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.528, allocations: 3.844 kB / 1.392 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/1.528, allocations: 3.844 kB / 1.392 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.528, allocations: 7.766 kB / 1.392 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/1.528, allocations: 116.2 kB / 1.392 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.528, allocations: 11.84 kB / 1.392 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/1.529, allocations: 27.27 kB / 1.392 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/1.529, allocations: 38.7 kB / 1.392 GB, free: 25.32 MB / 0.8386 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 () * 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.0001296/1.529, allocations: 137.9 kB / 1.392 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/1.529, allocations: 73.66 kB / 1.393 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/1.529, allocations: 360.9 kB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.529, allocations: 7.734 kB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.529, allocations: 3.75 kB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.529, allocations: 3.984 kB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/1.53, allocations: 451 kB / 1.393 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.53, allocations: 7.906 kB / 1.393 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/1.53, allocations: 26.39 kB / 1.393 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/1.53, allocations: 3.875 kB / 1.393 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.53, allocations: 7.828 kB / 1.393 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.53, allocations: 3.812 kB / 1.393 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.53, allocations: 4 kB / 1.393 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/1.53, allocations: 452.2 kB / 1.394 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/1.531, allocations: 174.3 kB / 1.394 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/1.531, allocations: 18.38 kB / 1.394 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.531, allocations: 14.14 kB / 1.394 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/1.531, allocations: 21.88 kB / 1.394 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/1.531, allocations: 17.52 kB / 1.394 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005617/1.532, allocations: 0.5732 MB / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.532, allocations: 0 / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004362/1.532, allocations: 125 kB / 1.395 GB, free: 24.18 MB / 0.8386 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) * 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.0009416/1.533, allocations: 418.5 kB / 1.395 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005101/1.533, allocations: 384.5 kB / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.533, allocations: 0 / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.534, allocations: 109.1 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/1.534, allocations: 196.7 kB / 1.396 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/1.536, allocations: 0.8896 MB / 1.397 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/1.536, allocations: 0.9474 MB / 1.398 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002723/1.536, allocations: 114.7 kB / 1.398 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.537, allocations: 61.05 kB / 1.398 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.537, allocations: 0 / 1.398 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.01134/1.548, allocations: 7.034 MB / 1.405 GB, free: 18.43 MB / 0.8386 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