Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00618/0.00618, allocations: 102 kB / 15.73 MB, free: 6.039 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.001342/0.001342, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 75.88 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002523/0.3197, allocations: 0.6854 MB / 1.208 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3218, allocations: 1.346 MB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.3219, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.3225, allocations: 187.5 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3226, allocations: 103.7 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.3235, allocations: 239.5 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000586/0.3241, allocations: 495.6 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.3241, allocations: 11.98 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.3244, allocations: 199.7 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.3249, allocations: 207.6 kB / 1.211 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.325, allocations: 24 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.3253, allocations: 91.86 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.3257, allocations: 255.5 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.3259, allocations: 151.3 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.3264, allocations: 475 kB / 1.212 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3264, allocations: 0 / 1.212 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3264, allocations: 0 / 1.212 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3264, allocations: 0 / 1.212 GB, free: 5.762 MB / 0.9669 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.001034/0.3275, allocations: 0.6423 MB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3275, allocations: 8.625 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.3276, allocations: 38.73 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.3277, allocations: 32.66 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.3283, allocations: 392 kB / 1.213 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3283, allocations: 8.375 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.3284, allocations: 24.36 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3287, allocations: 188.7 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3287, allocations: 3.938 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3287, allocations: 0 / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3287, allocations: 7.984 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3289, allocations: 111.9 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.3294, allocations: 379.2 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.3298, allocations: 319.6 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.33, allocations: 122.6 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.33, allocations: 4 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.3304, allocations: 289.4 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/0.3304, allocations: 0 / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008065/0.3312, allocations: 0.4971 MB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.3313, allocations: 110.8 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.3317, allocations: 404.4 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.3318, allocations: 41.7 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3319, allocations: 148.8 kB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.332, allocations: 43.48 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3321, allocations: 117.6 kB / 1.215 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3323, allocations: 342.8 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3324, allocations: 83.95 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.3329, allocations: 464.7 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3331, allocations: 261.4 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3332, allocations: 0 / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004885/0.3337, allocations: 328.9 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3337, allocations: 11.94 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3337, allocations: 4.125 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3337, allocations: 4 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3339, allocations: 32.33 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3339, allocations: 12 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/0.3346, allocations: 69.73 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3346, allocations: 15.98 kB / 1.217 GB, free: 15.82 MB / 0.9825 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.0002144/0.3348, allocations: 191.9 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.3349, allocations: 39.55 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.335, allocations: 37.89 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.335, allocations: 0 / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.335, allocations: 4 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.335, allocations: 240 / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3353, allocations: 277.5 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3353, allocations: 4 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.3353, allocations: 4 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.3353, allocations: 11.92 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3353, allocations: 11.92 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3353, allocations: 4 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3354, allocations: 0 / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.3359, allocations: 430.3 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.336, allocations: 100.8 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.336, allocations: 11.98 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.3361, allocations: 4 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3361, allocations: 19.98 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.3362, allocations: 19.98 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002721/0.3365, allocations: 283 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003904/0.3369, allocations: 83.92 kB / 1.218 GB, free: 14.21 MB / 0.9825 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.0008843/0.3378, allocations: 1.014 MB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.3382, allocations: 251.7 kB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3382, allocations: 4.812 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3384, allocations: 147.9 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3386, allocations: 26.72 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.3421, allocations: 3.257 MB / 1.223 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3424, allocations: 0.7636 MB / 1.224 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.3425, allocations: 45.94 kB / 1.224 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3427, allocations: 83.41 kB / 1.224 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3427, allocations: 3.938 kB / 1.224 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3666, allocations: 7.779 MB / 1.231 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.888/9.255, allocations: 10.67 kB / 1.231 GB, free: 0.8594 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches