Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006074/0.006074, allocations: 102.8 kB / 15.73 MB, free: 5.961 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.001452/0.001453, allocations: 190 kB / 16.67 MB, free: 5.883 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.639/2.639, allocations: 437.1 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002178/0.3265, allocations: 0.676 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3286, allocations: 1.347 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.3287, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.3291, allocations: 183.5 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3293, allocations: 107.7 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.3301, allocations: 231.1 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.3308, allocations: 0.4919 MB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.3309, allocations: 8 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.3312, allocations: 211.6 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.3316, allocations: 207.6 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3317, allocations: 20 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.332, allocations: 83.88 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.3324, allocations: 255.5 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3327, allocations: 155.3 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.3333, allocations: 474.1 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3333, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3333, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.3334, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 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.001375/0.3347, allocations: 0.6426 MB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3348, allocations: 8.031 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.3349, allocations: 38.75 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.3351, allocations: 28.66 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.3358, allocations: 388 kB / 1.172 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3358, allocations: 12.38 kB / 1.172 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.3359, allocations: 16.38 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.3363, allocations: 188.6 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3363, allocations: 3.938 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3363, allocations: 7.984 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3363, allocations: 4 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3365, allocations: 115.9 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.3371, allocations: 383.1 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.3375, allocations: 315.6 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3377, allocations: 130.6 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3378, allocations: 0 / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/0.3383, allocations: 285.5 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.3383, allocations: 0 / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of matching and sorting (n=18): time 0.0009461/0.3392, allocations: 0.4893 MB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.3393, allocations: 118.8 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.3398, allocations: 392.5 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.3399, allocations: 41.7 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.34, allocations: 152.7 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3401, allocations: 47.47 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.3403, allocations: 113.6 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3405, allocations: 354.7 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3406, allocations: 79.95 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.3412, allocations: 464.3 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3415, allocations: 257.5 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3415, allocations: 4 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005434/0.3421, allocations: 332.9 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3421, allocations: 9.656 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3421, allocations: 4 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3421, allocations: 4 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3423, allocations: 31.92 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3423, allocations: 7.984 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.3431, allocations: 72.72 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3431, allocations: 16 kB / 1.176 GB, free: 12.92 MB / 0.9356 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.0002114/0.3433, allocations: 195.9 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.3434, allocations: 27.66 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.3434, allocations: 37.89 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3434, allocations: 4 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3435, allocations: 8.125 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3435, allocations: 0 / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.3437, allocations: 285.4 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3438, allocations: 0 / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.3438, allocations: 11.94 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3438, allocations: 8.156 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3438, allocations: 4 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3438, allocations: 0 / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3438, allocations: 4 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.3444, allocations: 434.3 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.3445, allocations: 104.8 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.3445, allocations: 8 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3446, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3447, allocations: 19.97 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.3447, allocations: 16 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003124/0.3451, allocations: 287 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3451, allocations: 4 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004162/0.3455, allocations: 79.94 kB / 1.177 GB, free: 11.32 MB / 0.9356 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.0009885/0.3465, allocations: 1.01 MB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.347, allocations: 259.6 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.347, allocations: 0 / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3472, allocations: 143.9 kB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.3475, allocations: 25.45 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.3515, allocations: 3.263 MB / 1.182 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.3519, allocations: 0.7597 MB / 1.183 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000163/0.352, allocations: 45.95 kB / 1.183 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3522, allocations: 91.33 kB / 1.183 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3522, allocations: 0 / 1.183 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.3805, allocations: 7.634 MB / 1.19 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.416, allocations: 12.25 kB / 1.19 GB, free: 14.07 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches