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.01896/0.01896, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002604/0.002605, allocations: 194.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.992/2.992, allocations: 222.9 MB / 240.4 MB, free: 4.285 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 5.567/5.567, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003297/0.003297, allocations: 71.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7533, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003686/0.7571, allocations: 0.8549 MB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008373/0.7655, allocations: 1.455 MB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.7657, allocations: 7.938 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.7665, allocations: 207.4 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.7669, allocations: 107.6 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.7687, allocations: 354.7 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.7705, allocations: 0.8854 MB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.7709, allocations: 96.2 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009271/0.7718, allocations: 351.4 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007563/0.7726, allocations: 259.4 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.7729, allocations: 47.94 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006082/0.7735, allocations: 99.95 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009025/0.7744, allocations: 347.3 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.7751, allocations: 278.8 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.777, allocations: 0.9154 MB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.7771, allocations: 0 / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7771, allocations: 0 / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.7771, allocations: 0 / 1.172 GB, free: 1.027 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.003189/0.7803, allocations: 0.9033 MB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.7804, allocations: 12.03 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004184/0.7846, allocations: 42.73 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.7854, allocations: 57.81 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.7872, allocations: 0.5452 MB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.7873, allocations: 24.61 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.7875, allocations: 36.38 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.7886, allocations: 309.7 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.7886, allocations: 0 / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.7887, allocations: 8 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.7887, allocations: 7.938 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.7893, allocations: 223.8 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.7929, allocations: 1.18 MB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.7944, allocations: 471.8 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.7949, allocations: 178.6 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.795, allocations: 7.875 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009681/0.7959, allocations: 337.5 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 4.729e-06/0.796, allocations: 0 / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.002407/0.7984, allocations: 0.6223 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.7986, allocations: 122.8 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.8002, allocations: 0.5994 MB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.8005, allocations: 41.7 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.004765/0.8053, allocations: 213.6 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.8055, allocations: 51.62 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/0.8061, allocations: 185.5 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002871/0.8064, allocations: 362.7 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.8068, allocations: 131.8 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.8084, allocations: 0.7225 MB / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.8093, allocations: 296.6 kB / 1.18 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8093, allocations: 0 / 1.18 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001497/0.8108, allocations: 433.2 kB / 1.18 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.8109, allocations: 8 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8109, allocations: 0 / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/0.8109, allocations: 8 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.8113, allocations: 35.91 kB / 1.18 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.8113, allocations: 11.94 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.8137, allocations: 124.4 kB / 1.18 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.8138, allocations: 16 kB / 1.18 GB, free: 8.258 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.0007311/0.8145, allocations: 257.6 kB / 1.181 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.8148, allocations: 47.66 kB / 1.181 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.8149, allocations: 47.38 kB / 1.181 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.815, allocations: 8 kB / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.815, allocations: 3.984 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.815, allocations: 4 kB / 1.181 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.8158, allocations: 401.3 kB / 1.181 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.8158, allocations: 3.938 kB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.8159, allocations: 11.92 kB / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8159, allocations: 0 / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.8159, allocations: 8 kB / 1.181 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.816, allocations: 4 kB / 1.181 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.816, allocations: 0 / 1.181 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.8174, allocations: 0.5271 MB / 1.182 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.8176, allocations: 132.7 kB / 1.182 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.8177, allocations: 3.984 kB / 1.182 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.8181, allocations: 23.97 kB / 1.182 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.8182, allocations: 27.97 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.8183, allocations: 15.98 kB / 1.182 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001039/0.8194, allocations: 435.1 kB / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8194, allocations: 0 / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001071/0.8205, 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.00272/0.8273, allocations: 1.101 MB / 1.183 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.8287, allocations: 355.6 kB / 1.184 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8287, allocations: 4 kB / 1.184 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.8292, allocations: 188.6 kB / 1.184 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.83, allocations: 37.95 kB / 1.184 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.8448, allocations: 4.41 MB / 1.188 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/0.8458, allocations: 0.8389 MB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007068/0.8465, allocations: 86.94 kB / 1.189 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.8469, allocations: 135 kB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of SimCode: time 2.324e-06/0.8469, allocations: 0 / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08585/0.9328, allocations: 11.58 MB / 1.201 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/19.47, allocations: 12.5 kB / 1.201 GB, free: 3.445 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