Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001895/0.001895, allocations: 172.7 kB / 15.95 MB, free: 208 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.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7286, allocations: 153.8 MB / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001127/0.7298, allocations: 0.5505 MB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.7318, allocations: 1.421 MB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.7319, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.7324, allocations: 191.5 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.7326, allocations: 107.7 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.7335, allocations: 322.2 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.7344, allocations: 0.6551 MB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.7346, allocations: 88.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.7349, allocations: 295.4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.7353, allocations: 223.4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.7354, allocations: 16 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.7356, allocations: 79.88 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.736, allocations: 295.4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.7361, allocations: 93.45 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.7369, allocations: 0.7034 MB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7369, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7369, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.737, allocations: 0 / 1.027 GB, free: 11.12 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001275/0.7382, allocations: 0.7009 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7383, allocations: 8.562 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.7384, allocations: 55.42 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.7392, allocations: 0.5205 MB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.7393, allocations: 20.23 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.7394, allocations: 43.95 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.7399, allocations: 310.8 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7399, allocations: 0 / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.7399, allocations: 4 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7399, allocations: 3.938 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.7403, allocations: 223.9 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.7421, allocations: 1.191 MB / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.7428, allocations: 467.7 kB / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.743, allocations: 182.6 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.743, allocations: 0 / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.7435, allocations: 335.2 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.684e-06/0.7436, allocations: 0 / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001038/0.7446, allocations: 0.6295 MB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.7447, allocations: 110.8 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.7454, allocations: 0.5994 MB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.7455, allocations: 45.7 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.7458, allocations: 222.8 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.7458, allocations: 51.44 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.7458, allocations: 4 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.746, allocations: 354.8 kB / 1.033 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.7462, allocations: 127.9 kB / 1.033 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.747, allocations: 0.7184 MB / 1.034 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.7473, allocations: 176.6 kB / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7473, allocations: 0 / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006008/0.7479, allocations: 420.8 kB / 1.035 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.7479, allocations: 5.094 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.7479, allocations: 7.938 kB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.7479, allocations: 11.95 kB / 1.035 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.7481, allocations: 35.91 kB / 1.035 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7481, allocations: 4 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.7492, allocations: 145.9 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.7492, allocations: 16 kB / 1.035 GB, free: 3.004 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002966/0.7495, allocations: 261.5 kB / 1.035 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.7496, allocations: 35.53 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-05/0.7497, allocations: 51.38 kB / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7497, allocations: 11.89 kB / 1.035 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.7497, allocations: 3.984 kB / 1.035 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7497, allocations: 3.938 kB / 1.035 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.7501, allocations: 405.2 kB / 1.036 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7501, allocations: 0 / 1.036 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.7501, allocations: 7.984 kB / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7501, allocations: 0 / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.7502, allocations: 12 kB / 1.036 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.7502, allocations: 4 kB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7502, allocations: 3.953 kB / 1.036 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.7508, allocations: 0.5163 MB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.751, allocations: 132.5 kB / 1.036 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.751, allocations: 11.98 kB / 1.036 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.7512, allocations: 23.97 kB / 1.036 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.7512, allocations: 31.92 kB / 1.036 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.7513, allocations: 19.98 kB / 1.036 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004984/0.7518, allocations: 431 kB / 1.037 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7518, allocations: 0 / 1.037 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004983/0.7523, allocations: 107.9 kB / 1.037 GB, free: 0.8633 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002799/0.7526, allocations: 162.2 kB / 1.037 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.7532, allocations: 347.6 kB / 1.037 GB, free: 364 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7532, allocations: 0 / 1.037 GB, free: 364 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.7535, allocations: 191.8 kB / 1.037 GB, free: 172 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.7538, allocations: 35.45 kB / 1.038 GB, free: 140 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.7551, allocations: 0.8943 MB / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.7555, allocations: 0.8352 MB / 1.039 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.7558, allocations: 94.92 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.7559, allocations: 35.44 kB / 1.039 GB, free: 14.22 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.7559, allocations: 0 / 1.039 GB, free: 14.22 MB / 0.795 GB Notification: Performance of Templates: time 0.01353/0.7694, allocations: 7.36 MB / 1.047 GB, free: 6.949 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches