Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.418/2.418, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009997/0.001, allocations: 168.9 kB / 487.4 MB, free: 5.027 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.684/1.684, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 103.8 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.207e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3132, allocations: 142.3 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8601/1.173, allocations: 148.6 MB / 1.351 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/1.174, allocations: 73.31 kB / 1.351 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05469/1.228, allocations: 21.25 MB / 1.372 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.372e-06/1.228, allocations: 0 / 1.372 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.642e-05/1.228, allocations: 3.812 kB / 1.372 GB, free: 32.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008591/1.229, allocations: 494.8 kB / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.229, allocations: 7.562 kB / 1.372 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/1.23, allocations: 35.09 kB / 1.372 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/1.23, allocations: 377.5 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.23, allocations: 3.141 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.23, allocations: 19.28 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001674/1.231, allocations: 106.9 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/1.231, allocations: 188.8 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.231, allocations: 0 / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/1.231, allocations: 3.938 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.231, allocations: 4 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/1.231, allocations: 359.4 kB / 1.373 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/1.232, allocations: 309.5 kB / 1.374 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/1.232, allocations: 129.6 kB / 1.374 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/1.232, allocations: 7.781 kB / 1.374 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/1.232, allocations: 273.9 kB / 1.374 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/1.232, allocations: 0 / 1.374 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0006107/1.233, allocations: 397 kB / 1.375 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.233, allocations: 117.8 kB / 1.375 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/1.233, allocations: 342.2 kB / 1.375 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/1.233, allocations: 32.95 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.233, allocations: 157.5 kB / 1.375 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/1.233, allocations: 38.98 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/1.233, allocations: 0 / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.233, allocations: 342.5 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/1.233, allocations: 90.55 kB / 1.376 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/1.234, allocations: 459.8 kB / 1.376 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/1.234, allocations: 153.3 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.234, allocations: 3.844 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006553/1.235, allocations: 331.1 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.235, allocations: 7.719 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.235, allocations: 3.844 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.235, allocations: 3.969 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/1.235, allocations: 30.05 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.235, allocations: 11.66 kB / 1.377 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/1.236, allocations: 51.25 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/1.236, allocations: 14.69 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001843/1.236, allocations: 130.9 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/1.236, allocations: 23.44 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.578e-05/1.236, allocations: 37.27 kB / 1.377 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.236, allocations: 3.906 kB / 1.377 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.236, allocations: 7.922 kB / 1.377 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.236, allocations: 3.844 kB / 1.377 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/1.237, allocations: 264.3 kB / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.237, allocations: 0 / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/1.237, allocations: 7.922 kB / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.237, allocations: 0 / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/1.237, allocations: 7.922 kB / 1.377 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.237, allocations: 7.75 kB / 1.377 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.237, allocations: 0 / 1.377 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/1.237, allocations: 462.6 kB / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/1.237, allocations: 112.1 kB / 1.378 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/1.237, allocations: 3.875 kB / 1.378 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/1.237, allocations: 6.859 kB / 1.378 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/1.238, allocations: 18.67 kB / 1.378 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/1.238, allocations: 11.72 kB / 1.378 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002443/1.238, allocations: 278.1 kB / 1.378 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.81e-07/1.238, allocations: 0 / 1.378 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004322/1.238, allocations: 73.75 kB / 1.378 GB, free: 29.19 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: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000238/1.239, allocations: 156.6 kB / 1.378 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003272/1.239, allocations: 242.2 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.239, allocations: 0 / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/1.239, allocations: 140.6 kB / 1.379 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/1.239, allocations: 28.31 kB / 1.379 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/1.24, allocations: 446.6 kB / 1.379 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/1.24, allocations: 0.772 MB / 1.38 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001672/1.241, allocations: 44.62 kB / 1.38 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/1.241, allocations: 34.3 kB / 1.38 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.241, allocations: 0 / 1.38 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.007203/1.248, allocations: 4.196 MB / 1.384 GB, free: 26 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches