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: 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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.0009871/0.0009869, allocations: 184.8 kB / 492.3 MB, free: 0.6211 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.4/1.4, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009233/0.0009233, allocations: 83.97 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.969e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2858, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.482, allocations: 153.1 MB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.483, allocations: 79.73 kB / 1.362 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05488/1.537, allocations: 23.74 MB / 1.385 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.984e-06/1.537, allocations: 0 / 1.385 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.006e-05/1.538, allocations: 19.44 kB / 1.385 GB, free: 30.21 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.0009942/1.539, allocations: 0.7692 MB / 1.386 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.539, allocations: 7.688 kB / 1.386 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/1.539, allocations: 77.28 kB / 1.386 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.54, allocations: 0.6907 MB / 1.387 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/1.54, allocations: 15.14 kB / 1.387 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/1.54, allocations: 11.16 kB / 1.387 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/1.54, allocations: 201.7 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.54, allocations: 0 / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.54, allocations: 3.984 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.54, allocations: 3.906 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/1.541, allocations: 100.6 kB / 1.387 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/1.542, allocations: 1.116 MB / 1.388 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/1.542, allocations: 263.9 kB / 1.388 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/1.542, allocations: 108.2 kB / 1.389 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/1.542, allocations: 6.578 kB / 1.389 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/1.543, allocations: 233.3 kB / 1.389 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.023e-06/1.543, allocations: 0 / 1.389 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.000568/1.543, allocations: 341.8 kB / 1.389 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.543, allocations: 169.4 kB / 1.389 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/1.544, allocations: 0.9425 MB / 1.39 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.544, allocations: 36.33 kB / 1.39 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.544, allocations: 292.3 kB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/1.545, allocations: 81.58 kB / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/1.545, allocations: 15.41 kB / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.545, allocations: 324.7 kB / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/1.545, allocations: 249.9 kB / 1.391 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/1.545, allocations: 344.4 kB / 1.391 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/1.546, allocations: 275.3 kB / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.546, allocations: 0 / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009223/1.547, allocations: 0.7428 MB / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.547, allocations: 7.688 kB / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.547, allocations: 3.953 kB / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.547, allocations: 7.688 kB / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/1.547, allocations: 115.2 kB / 1.393 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.547, allocations: 15.78 kB / 1.393 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/1.547, allocations: 41.45 kB / 1.393 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/1.547, allocations: 37.45 kB / 1.393 GB, free: 26.45 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.0001158/1.548, allocations: 154.2 kB / 1.393 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/1.548, allocations: 77.7 kB / 1.393 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/1.548, allocations: 375.9 kB / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.548, allocations: 7.828 kB / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.548, allocations: 0 / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.548, allocations: 3.969 kB / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/1.549, allocations: 495.5 kB / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/1.549, allocations: 0 / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/1.549, allocations: 34.7 kB / 1.394 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.549, allocations: 0 / 1.394 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.549, allocations: 11.56 kB / 1.394 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/1.549, allocations: 3.984 kB / 1.394 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.549, allocations: 7.859 kB / 1.394 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/1.549, allocations: 458.4 kB / 1.394 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/1.55, allocations: 174.5 kB / 1.394 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/1.55, allocations: 17.42 kB / 1.394 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.55, allocations: 19.45 kB / 1.394 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/1.55, allocations: 22.47 kB / 1.394 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.55, allocations: 15.8 kB / 1.394 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006144/1.551, allocations: 0.6125 MB / 1.395 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.551, allocations: 0 / 1.395 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004512/1.551, allocations: 145.2 kB / 1.395 GB, free: 25.27 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.001026/1.552, allocations: 464.6 kB / 1.396 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005109/1.553, allocations: 406.6 kB / 1.396 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.553, allocations: 320 / 1.396 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/1.553, allocations: 122.8 kB / 1.396 GB, free: 25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/1.553, allocations: 180.9 kB / 1.396 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/1.555, allocations: 0.8989 MB / 1.397 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/1.555, allocations: 0.9442 MB / 1.398 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002626/1.555, allocations: 117.7 kB / 1.398 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.556, allocations: 64.67 kB / 1.398 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of SimCode: time 5.92e-07/1.556, allocations: 0 / 1.398 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.0116/1.567, allocations: 7.698 MB / 1.406 GB, free: 17.44 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches