Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001463, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 436.5 MB / 0.7104 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003802, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9132, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.002675/0.9159, allocations: 2.058 MB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.9184, allocations: 1.452 MB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.9186, allocations: 11.88 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.9193, allocations: 287.2 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.9198, allocations: 283.2 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.9207, allocations: 366.7 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.9214, allocations: 443.1 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.9216, allocations: 73.72 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.922, allocations: 290.8 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.9223, allocations: 251 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.9223, allocations: 12 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.9225, allocations: 59.91 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.9227, allocations: 167.4 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.9229, allocations: 125.3 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.9234, allocations: 0.5708 MB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.9234, allocations: 3.938 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9234, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9234, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 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.001451/0.9249, allocations: 0.903 MB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9249, allocations: 16.02 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.9251, allocations: 71.06 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000977/0.9261, allocations: 0.5853 MB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.9261, allocations: 11.98 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.9261, allocations: 15.95 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.9265, allocations: 205.7 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9265, allocations: 0 / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.9266, allocations: 4 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.9266, allocations: 4 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.9268, allocations: 95.88 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.9282, allocations: 1.063 MB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.9288, allocations: 277.3 kB / 1.03 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.9288, allocations: 12.02 kB / 1.03 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.9292, allocations: 221.9 kB / 1.03 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.427e-06/0.9292, allocations: 0 / 1.03 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0009269/0.9301, allocations: 416.4 kB / 1.031 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.9303, allocations: 166.2 kB / 1.031 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.9315, allocations: 1.032 MB / 1.032 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.9315, allocations: 37.7 kB / 1.032 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.9318, allocations: 288.8 kB / 1.032 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.9319, allocations: 79.08 kB / 1.032 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.9319, allocations: 12 kB / 1.032 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.932, allocations: 329.9 kB / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.9324, allocations: 225.1 kB / 1.033 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.9328, allocations: 295 kB / 1.033 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.9332, allocations: 238.2 kB / 1.033 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9332, allocations: 0 / 1.033 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001038/0.9342, allocations: 0.6718 MB / 1.034 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.9343, allocations: 12.16 kB / 1.034 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9343, allocations: 0 / 1.034 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.9343, allocations: 8 kB / 1.034 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.9347, allocations: 115.8 kB / 1.034 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.9348, allocations: 4 kB / 1.034 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.9351, allocations: 39.73 kB / 1.034 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.9351, allocations: 29.23 kB / 1.034 GB, free: 2.914 MB / 0.7794 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.000357/0.9355, allocations: 285.5 kB / 1.035 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.9356, allocations: 71.06 kB / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.9357, allocations: 73.89 kB / 1.035 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9357, allocations: 4 kB / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.9358, allocations: 0 / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.9358, allocations: 3.984 kB / 1.035 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.9363, allocations: 465.2 kB / 1.035 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9363, allocations: 0 / 1.035 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.9363, allocations: 23.92 kB / 1.035 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9363, allocations: 4 kB / 1.035 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.9364, allocations: 8 kB / 1.035 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.9364, allocations: 8 kB / 1.035 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9364, allocations: 0 / 1.035 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.9371, allocations: 441.7 kB / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.9373, allocations: 164.1 kB / 1.036 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.9374, allocations: 27.92 kB / 1.036 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.9375, allocations: 15.92 kB / 1.036 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.9376, allocations: 27.97 kB / 1.036 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.9376, allocations: 16 kB / 1.036 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007184/0.9384, allocations: 0.5966 MB / 1.036 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9384, allocations: 0 / 1.036 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000434/0.9388, allocations: 119.9 kB / 1.037 GB, free: 476 kB / 0.7794 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.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * 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.001117/0.9399, allocations: 492.1 kB / 1.037 GB, free: 168 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007346/0.9407, allocations: 395.7 kB / 1.037 GB, free: 15.78 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9407, allocations: 0 / 1.037 GB, free: 15.78 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.9409, allocations: 108.1 kB / 1.038 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.9417, allocations: 185.2 kB / 1.038 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.9433, allocations: 1.175 MB / 1.039 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.9438, allocations: 0.9523 MB / 1.04 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.944, allocations: 109.5 kB / 1.04 GB, free: 13.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.9442, allocations: 59.41 kB / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/0.9442, allocations: 0 / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of Templates: time 0.01295/0.9571, allocations: 7.138 MB / 1.047 GB, free: 6.09 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches