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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_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.008472/0.008477, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001747/0.001747, allocations: 193.3 kB / 16.67 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3238, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002044/0.3259, allocations: 0.8689 MB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3279, allocations: 1.448 MB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3281, allocations: 11.94 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.3286, allocations: 199.4 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.3288, allocations: 103.7 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3299, allocations: 362.1 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.3309, allocations: 0.8893 MB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.3311, allocations: 96.19 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.3316, allocations: 347.4 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.332, allocations: 263.4 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.3322, allocations: 44 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.3325, allocations: 107.9 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.3329, allocations: 335.3 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.3333, allocations: 282.8 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.3342, allocations: 0.9115 MB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3342, allocations: 0 / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3342, allocations: 0 / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.3343, allocations: 0 / 1.172 GB, free: 1.031 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001772/0.336, allocations: 0.9111 MB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3361, allocations: 8.031 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.3362, allocations: 46.73 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.3364, allocations: 49.88 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.3372, allocations: 0.549 MB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3373, allocations: 24.61 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3374, allocations: 36.38 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.3379, allocations: 305.8 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3379, allocations: 3.938 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.3379, allocations: 8 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3379, allocations: 3.938 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.3383, allocations: 223.8 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.3403, allocations: 1.184 MB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.341, allocations: 475.7 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.3412, allocations: 178.6 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3413, allocations: 4 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.3418, allocations: 333.5 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.3418, allocations: 0 / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.00105/0.3428, allocations: 0.6299 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.3429, allocations: 118.8 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.3436, allocations: 0.5955 MB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.503e-05/0.3437, allocations: 49.69 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.344, allocations: 209.6 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.344, allocations: 51.64 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.3443, allocations: 181.5 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3444, allocations: 366.7 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3446, allocations: 135.8 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.3454, allocations: 0.7107 MB / 1.179 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.3458, allocations: 304.6 kB / 1.18 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3458, allocations: 1 kB / 1.18 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006623/0.3465, allocations: 432.8 kB / 1.18 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3465, allocations: 8 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3465, allocations: 8 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.3465, allocations: 4 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3467, allocations: 35.92 kB / 1.18 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3467, allocations: 7.938 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.348, allocations: 128.2 kB / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3481, allocations: 16 kB / 1.18 GB, free: 8.254 MB / 0.9356 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.0003538/0.3484, allocations: 261.6 kB / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.3485, allocations: 47.66 kB / 1.181 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/0.3486, allocations: 51.36 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3486, allocations: 7.938 kB / 1.181 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.3487, allocations: 4 kB / 1.181 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3487, allocations: 0 / 1.181 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.3491, allocations: 401.3 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3491, allocations: 3.938 kB / 1.181 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.3492, allocations: 11.94 kB / 1.181 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.3492, allocations: 4 kB / 1.181 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3492, allocations: 11.98 kB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3492, allocations: 0 / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3492, allocations: 0 / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.35, allocations: 0.5122 MB / 1.182 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.3501, allocations: 136.7 kB / 1.182 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.3502, allocations: 4 kB / 1.182 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3504, allocations: 19.97 kB / 1.182 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3505, allocations: 35.91 kB / 1.182 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.3505, allocations: 12 kB / 1.182 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005497/0.3511, allocations: 435.1 kB / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3511, allocations: 0 / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005856/0.3517, allocations: 115.8 kB / 1.182 GB, free: 6.113 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: 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.001173/0.3529, allocations: 1.105 MB / 1.183 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.3535, allocations: 348.2 kB / 1.184 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3535, allocations: 192 / 1.184 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.3537, allocations: 199.8 kB / 1.184 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.354, allocations: 38.45 kB / 1.184 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.3597, allocations: 4.407 MB / 1.188 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3602, allocations: 0.8311 MB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002758/0.3605, allocations: 90.94 kB / 1.189 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.3607, allocations: 131.4 kB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.3607, allocations: 0 / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.3966, allocations: 11.59 MB / 1.201 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.741, allocations: 12.25 kB / 1.201 GB, free: 3.441 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/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