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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001644/0.001644, allocations: 192.1 kB / 16.25 MB, free: 6.633 MB / 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: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7106, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002369/0.713, allocations: 0.9241 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.7149, allocations: 1.452 MB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.715, allocations: 11.94 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.7155, allocations: 187.5 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.7157, allocations: 99.72 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.7167, allocations: 338.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.7175, allocations: 0.8582 MB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.7177, allocations: 96.23 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.7181, allocations: 359.3 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.7185, allocations: 267.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.7186, allocations: 44 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.7188, allocations: 107.9 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.7192, allocations: 347.2 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.7195, allocations: 270.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.7203, allocations: 0.9057 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7203, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7203, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7203, allocations: 0 / 1.023 GB, free: 12.5 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.00152/0.7219, allocations: 0.8918 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.7219, allocations: 8.031 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.7221, allocations: 52.47 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.7228, allocations: 0.5409 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.7229, allocations: 24.61 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.723, allocations: 40.36 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.7235, allocations: 303.4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7235, allocations: 4.125 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.7235, allocations: 7.938 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.7236, allocations: 4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.7239, allocations: 219.9 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.7259, allocations: 1.18 MB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.7265, allocations: 471.7 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.7268, allocations: 182.6 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.7268, allocations: 7.938 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.7272, allocations: 331.2 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.7273, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001017/0.7283, allocations: 0.6334 MB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.7284, allocations: 122.7 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.729, allocations: 0.5916 MB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.484e-05/0.7292, allocations: 49.7 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.7294, allocations: 214.5 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.7294, allocations: 51.44 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.7297, allocations: 189.5 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7299, allocations: 358.8 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.7301, allocations: 123.9 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.7309, allocations: 0.7187 MB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.7312, allocations: 296.6 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7312, allocations: 4 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006519/0.7319, allocations: 416.7 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7319, allocations: 11.94 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.7319, allocations: 4 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7319, allocations: 7.938 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.7321, allocations: 40.28 kB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7322, allocations: 11.94 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.7335, allocations: 128.1 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.7336, allocations: 12 kB / 1.031 GB, free: 3.82 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.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.7339, allocations: 258.5 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.734, allocations: 47.44 kB / 1.031 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.7341, allocations: 59.3 kB / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.7341, allocations: 0 / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7341, allocations: 4 kB / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7342, allocations: 0 / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.7346, allocations: 409.2 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7346, allocations: 4 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.7346, allocations: 11.94 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.7347, allocations: 4 kB / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.7347, allocations: 11.92 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7347, allocations: 0 / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7347, allocations: 4 kB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.7354, allocations: 0.5152 MB / 1.032 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7356, allocations: 124.6 kB / 1.032 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.7356, allocations: 7.938 kB / 1.032 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.7358, allocations: 15.98 kB / 1.032 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.7359, allocations: 35.91 kB / 1.032 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.7359, allocations: 11.98 kB / 1.032 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004809/0.7364, allocations: 435.1 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7364, allocations: 0 / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004561/0.7369, allocations: 107.9 kB / 1.033 GB, free: 1.688 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 (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.0002429/0.7371, allocations: 154.8 kB / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.7377, allocations: 371.9 kB / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7377, allocations: 7.938 kB / 1.033 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.738, allocations: 184.6 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.7383, allocations: 42.69 kB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.7396, allocations: 0.9206 MB / 1.034 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.7401, allocations: 0.8393 MB / 1.035 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.7403, allocations: 93.31 kB / 1.035 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.7404, allocations: 31.44 kB / 1.035 GB, free: 15 MB / 0.795 GB Notification: Performance of SimCode: time 3.8e-07/0.7404, allocations: 0 / 1.035 GB, free: 15 MB / 0.795 GB Notification: Performance of Templates: time 0.01572/0.7561, allocations: 7.928 MB / 1.043 GB, free: 7.16 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