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.006294/0.006294, allocations: 95.97 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.001298/0.001298, allocations: 202.7 kB / 16.68 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 1.636/1.636, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.987/2.987, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 59.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4649, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002596/0.4676, allocations: 0.864 MB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.4709, allocations: 1.455 MB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.4712, allocations: 7.938 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008562/0.4721, allocations: 191.5 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.4725, allocations: 111.6 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.474, allocations: 350.4 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.4754, allocations: 0.8931 MB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.4757, allocations: 88.27 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008426/0.4765, allocations: 347.5 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.4773, allocations: 259.3 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003586/0.4777, allocations: 52 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.4783, allocations: 103.9 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006166/0.4789, allocations: 339.3 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006677/0.4796, allocations: 274.8 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.481, allocations: 0.9151 MB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.481, allocations: 3.938 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.943e-06/0.481, allocations: 3.938 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.514e-05/0.4811, allocations: 0 / 1.173 GB, free: 0.5469 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.00236/0.4834, allocations: 0.9073 MB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4835, allocations: 8.031 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.4838, allocations: 56.66 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009481/0.4848, allocations: 0.5452 MB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.4848, allocations: 24.61 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.485, allocations: 36.38 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.4855, allocations: 306.9 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4855, allocations: 4.125 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.4856, allocations: 19.92 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4856, allocations: 4 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.4859, allocations: 215.8 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.4881, allocations: 1.184 MB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.4887, allocations: 471.8 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.489, allocations: 182.5 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.489, allocations: 4 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004888/0.4895, allocations: 324.4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 2.384e-06/0.4895, allocations: 0 / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001096/0.4906, allocations: 0.6299 MB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.4907, allocations: 122.7 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007838/0.4915, allocations: 0.6001 MB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4916, allocations: 45.7 kB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.4918, allocations: 209.6 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.4919, allocations: 63.52 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.4922, allocations: 189.5 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4924, allocations: 354.8 kB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.4926, allocations: 127.8 kB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.4935, allocations: 0.7186 MB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.4939, allocations: 300.6 kB / 1.18 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.4939, allocations: 4 kB / 1.18 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007678/0.4946, allocations: 421.2 kB / 1.181 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.4947, allocations: 8 kB / 1.181 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4947, allocations: 4 kB / 1.181 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.4947, allocations: 4 kB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.4949, allocations: 43.8 kB / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.495, allocations: 7.984 kB / 1.181 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4963, allocations: 135.8 kB / 1.181 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4964, allocations: 15.98 kB / 1.181 GB, free: 7.824 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.0003815/0.4968, allocations: 258.5 kB / 1.181 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.4969, allocations: 43.72 kB / 1.181 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.497, allocations: 51.38 kB / 1.181 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.497, allocations: 11.94 kB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.497, allocations: 0 / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.497, allocations: 3.984 kB / 1.181 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.4975, allocations: 409.2 kB / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4975, allocations: 0 / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.4976, allocations: 7.984 kB / 1.181 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4976, allocations: 4 kB / 1.181 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.4976, allocations: 8 kB / 1.181 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.4976, allocations: 3.938 kB / 1.181 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4976, allocations: 7.938 kB / 1.182 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.4984, allocations: 0.5152 MB / 1.182 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4985, allocations: 132.8 kB / 1.182 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.4986, allocations: 7.984 kB / 1.182 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4987, allocations: 19.92 kB / 1.182 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4988, allocations: 31.97 kB / 1.182 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.4989, allocations: 12 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005077/0.4994, allocations: 439 kB / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4994, allocations: 0 / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005273/0.4999, allocations: 111.8 kB / 1.183 GB, free: 5.68 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.0003215/0.5003, allocations: 145.3 kB / 1.183 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006547/0.5009, allocations: 362 kB / 1.183 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/0.501, allocations: 0 / 1.183 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.5012, allocations: 188 kB / 1.183 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.5016, allocations: 38.08 kB / 1.183 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.5031, allocations: 0.8347 MB / 1.184 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.5036, allocations: 0.8389 MB / 1.185 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.5039, allocations: 90.94 kB / 1.185 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.504, allocations: 35.42 kB / 1.185 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.504, allocations: 0 / 1.185 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of Templates: time 0.01662/0.5206, allocations: 7.988 MB / 1.193 GB, free: 11.21 MB / 0.9512 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