Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 91.56 kB / 20.46 MB, free: 4.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 161 kB / 23.82 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9808/0.9808, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.169e-05, allocations: 4.562 kB / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00466/0.004681, allocations: 0.6867 MB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.006519, allocations: 1.378 MB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.006581, allocations: 1.531 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.007042, allocations: 196.8 kB / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.007153, allocations: 105.9 kB / 0.8139 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.01087, allocations: 245.8 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.01137, allocations: 487.8 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.01142, allocations: 4.516 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.01169, allocations: 248.4 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.01202, allocations: 225.7 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.01209, allocations: 20 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.01231, allocations: 99.83 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.01262, allocations: 271.4 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.01276, allocations: 116.3 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.01635, allocations: 426.8 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01635, allocations: 0.6562 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.81e-07/0.01635, allocations: 0.7188 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.01636, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 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.0008424/0.0172, allocations: 0.6678 MB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.01724, allocations: 9.406 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.01736, allocations: 36.78 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.01801, allocations: 292.5 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.01803, allocations: 24.28 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.01809, allocations: 18.12 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.01831, allocations: 129.2 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01832, allocations: 192 / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.01834, allocations: 8.359 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.01835, allocations: 4.375 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.01843, allocations: 49.06 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.01874, allocations: 279.9 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.01901, allocations: 202 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.02178, allocations: 65.31 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.02179, allocations: 0 / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.02211, allocations: 259.6 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.02211, allocations: 2.906 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0006234/0.02273, allocations: 381.4 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.0228, allocations: 110.8 kB / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.02313, allocations: 378.2 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.02318, allocations: 45.69 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.02332, allocations: 203.5 kB / 0.8189 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.02336, allocations: 43.73 kB / 0.819 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.02351, allocations: 119.2 kB / 0.8191 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.02367, allocations: 0.5211 MB / 0.8196 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.02375, allocations: 51.97 kB / 0.8197 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.02432, allocations: 1.064 MB / 0.8207 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.02459, allocations: 263.2 kB / 0.821 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02459, allocations: 0 / 0.821 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003089/0.0249, allocations: 278.6 kB / 0.8212 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.02491, allocations: 14.44 kB / 0.8212 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.02492, allocations: 4 kB / 0.8212 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.02494, allocations: 4 kB / 0.8212 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.02508, allocations: 43.91 kB / 0.8213 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.02509, allocations: 7.938 kB / 0.8213 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.02537, allocations: 56.22 kB / 0.8213 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.02538, allocations: 12.12 kB / 0.8214 GB, free: 7.051 MB / 0.7761 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 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.0255, allocations: 192.8 kB / 0.8215 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.02554, allocations: 31.81 kB / 0.8216 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.02558, allocations: 34.19 kB / 0.8216 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02558, allocations: 5.125 kB / 0.8216 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.02559, allocations: 0 / 0.8216 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.0256, allocations: 11.92 kB / 0.8216 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.02577, allocations: 221.5 kB / 0.8218 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.02577, allocations: 7.938 kB / 0.8218 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-06/0.02578, allocations: 0 / 0.8218 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.02578, allocations: 5.062 kB / 0.8218 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.02579, allocations: 11.98 kB / 0.8218 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.02579, allocations: 0 / 0.8218 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.02579, allocations: 0.6562 kB / 0.8219 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.02612, allocations: 360.5 kB / 0.8222 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.02615, allocations: 27.8 kB / 0.8222 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.02617, allocations: 4 kB / 0.8222 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.02621, allocations: 12.48 kB / 0.8222 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.02625, allocations: 19.92 kB / 0.8223 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.02627, allocations: 17.83 kB / 0.8223 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001466/0.02642, allocations: 247 kB / 0.8225 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02642, allocations: 0 / 0.8225 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002627/0.02668, allocations: 75.94 kB / 0.8226 GB, free: 5.723 MB / 0.7761 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.02685, allocations: 148.9 kB / 0.8227 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.02712, allocations: 188.1 kB / 0.8229 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02712, allocations: 4 kB / 0.8229 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.02721, allocations: 103.5 kB / 0.823 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.02741, allocations: 32.59 kB / 0.823 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.02821, allocations: 487.4 kB / 0.8235 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.02826, allocations: 92.3 kB / 0.8236 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.04e-05/0.02833, allocations: 40.47 kB / 0.8236 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.02838, allocations: 28.5 kB / 0.8237 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.02839, allocations: 4 kB / 0.8237 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of Templates: time 0.006985/0.03537, allocations: 5.486 MB / 0.829 GB, free: 15.18 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.451907477807254]