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.001457/0.001457, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.624/2.624, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9153, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002615/0.918, allocations: 0.861 MB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.9202, allocations: 1.455 MB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.9204, allocations: 4 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.9209, allocations: 191.4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.9211, allocations: 115.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.9223, allocations: 356.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000974/0.9233, allocations: 0.8582 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.9235, allocations: 96.23 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.9239, allocations: 351.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.9243, allocations: 259.3 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.9245, allocations: 48 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.9248, allocations: 111.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.9253, allocations: 343.3 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.9257, allocations: 270.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009715/0.9267, allocations: 0.9057 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9267, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9267, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.9267, allocations: 0 / 1.023 GB, free: 12.29 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.00157/0.9283, allocations: 0.884 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9283, allocations: 12.03 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.9285, allocations: 52.45 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.9293, allocations: 0.5409 MB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.9294, allocations: 28.61 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.9295, allocations: 40.36 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.93, allocations: 303.4 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.93, allocations: 192 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.9301, allocations: 7.938 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9301, allocations: 4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.9304, allocations: 223.8 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.9324, allocations: 1.184 MB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.933, allocations: 463.8 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.9333, allocations: 182.5 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.9333, allocations: 7.938 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.9338, allocations: 333.5 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.542e-06/0.9338, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.00107/0.9349, allocations: 0.6225 MB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.935, allocations: 122.7 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.9357, allocations: 0.5916 MB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.9358, allocations: 45.7 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.9361, allocations: 226.6 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.9362, allocations: 51.38 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.9365, allocations: 185.5 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.9367, allocations: 362.8 kB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.9369, allocations: 119.9 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.9377, allocations: 0.7187 MB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.9381, allocations: 304.6 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.9381, allocations: 4 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006871/0.9388, allocations: 417 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.9389, allocations: 8 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.9389, allocations: 4 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/0.9389, allocations: 7.938 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.9391, allocations: 43.84 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.9391, allocations: 4 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.9404, allocations: 141.6 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.9405, allocations: 16 kB / 1.031 GB, free: 3.602 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.0003962/0.9409, allocations: 257.7 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.941, allocations: 39.44 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.9411, allocations: 59.3 kB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.9411, allocations: 8 kB / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9411, allocations: 0 / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9411, allocations: 0 / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.9416, allocations: 405.2 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.9416, allocations: 7.984 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.9416, allocations: 7.938 kB / 1.032 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9416, allocations: 0 / 1.032 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.9417, allocations: 11.94 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.9417, allocations: 3.984 kB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.9417, allocations: 4 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.9424, allocations: 0.5146 MB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.9426, allocations: 124.6 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.9426, allocations: 7.938 kB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.9428, allocations: 19.92 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.9429, allocations: 31.97 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.9429, allocations: 11.98 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005253/0.9434, allocations: 439.1 kB / 1.033 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9435, allocations: 0 / 1.033 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004928/0.944, allocations: 107.9 kB / 1.033 GB, free: 1.477 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.0003196/0.9443, allocations: 153.3 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006653/0.945, allocations: 374 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.945, allocations: 0 / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.9452, allocations: 195.8 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.9456, allocations: 36.41 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.9469, allocations: 0.839 MB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.9474, allocations: 0.8311 MB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.9477, allocations: 94.92 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.9478, allocations: 31.44 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of SimCode: time 9.31e-07/0.9478, allocations: 4 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of Templates: time 0.01589/0.9637, allocations: 7.949 MB / 1.044 GB, free: 7.016 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