Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 190.6 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.616/3.616, allocations: 495.7 MB / 0.7831 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.47 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4616, allocations: 173.6 MB / 1.307 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002315/0.4639, allocations: 0.8806 MB / 1.308 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.4661, allocations: 1.47 MB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.4662, allocations: 3.938 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.4667, allocations: 195.5 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.4669, allocations: 111.6 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.468, allocations: 376.5 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.4692, allocations: 0.8816 MB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.4694, allocations: 52.56 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.4698, allocations: 355.4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.4703, allocations: 283.3 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.4704, allocations: 48 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.4708, allocations: 131.8 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.4713, allocations: 359.2 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.4717, allocations: 270.8 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4728, allocations: 0.9151 MB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4728, allocations: 4 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4728, allocations: 0 / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.4728, allocations: 0 / 1.313 GB, free: 11.65 MB / 1.014 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.001801/0.4746, allocations: 0.8358 MB / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4747, allocations: 12.03 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.4749, allocations: 52.66 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.4758, allocations: 496.4 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.4759, allocations: 24.59 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.476, allocations: 40.31 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.4765, allocations: 310.2 kB / 1.315 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4765, allocations: 192 / 1.315 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4766, allocations: 11.94 kB / 1.315 GB, free: 9.816 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4766, allocations: 8 kB / 1.315 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.4769, allocations: 219.8 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.4791, allocations: 1.151 MB / 1.316 GB, free: 8.391 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.4798, allocations: 459.8 kB / 1.317 GB, free: 7.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.48, allocations: 174.6 kB / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.48, allocations: 7.938 kB / 1.317 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.4805, allocations: 336.7 kB / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/0.4805, allocations: 0 / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001112/0.4816, allocations: 0.6338 MB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.4817, allocations: 114.8 kB / 1.318 GB, free: 6.602 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.4825, allocations: 0.5955 MB / 1.318 GB, free: 5.996 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.4826, allocations: 49.69 kB / 1.318 GB, free: 5.941 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.4829, allocations: 213.7 kB / 1.319 GB, free: 5.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.483, allocations: 55.62 kB / 1.319 GB, free: 5.676 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.4833, allocations: 185.4 kB / 1.319 GB, free: 5.488 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.4835, allocations: 358.8 kB / 1.319 GB, free: 5.129 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.4837, allocations: 131.9 kB / 1.319 GB, free: 5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4848, allocations: 0.7117 MB / 1.32 GB, free: 4.113 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.4852, allocations: 300.6 kB / 1.32 GB, free: 3.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4852, allocations: 0 / 1.32 GB, free: 3.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007117/0.4859, allocations: 425 kB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4859, allocations: 8 kB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4859, allocations: 4 kB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4859, allocations: 4 kB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.4861, allocations: 43.8 kB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4861, allocations: 7.938 kB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.4876, allocations: 136.4 kB / 1.321 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.4876, allocations: 12 kB / 1.321 GB, free: 3.141 MB / 1.014 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.0003684/0.488, allocations: 261.6 kB / 1.321 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.488, allocations: 47.7 kB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.4881, allocations: 51.38 kB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4881, allocations: 3.938 kB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4882, allocations: 4 kB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4882, allocations: 3.984 kB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.4886, allocations: 368.4 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4886, allocations: 4 kB / 1.322 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.4887, allocations: 11.94 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4887, allocations: 0 / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4887, allocations: 7.984 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4887, allocations: 7.938 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4887, allocations: 4 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.4895, allocations: 0.5154 MB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4896, allocations: 55.69 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.4896, allocations: 0 / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.4898, allocations: 23.91 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.4899, allocations: 31.97 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.4899, allocations: 15.98 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000606/0.4905, allocations: 435.1 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4905, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005109/0.491, allocations: 107.9 kB / 1.323 GB, free: 1.137 MB / 1.014 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.0003128/0.4914, allocations: 158.4 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006239/0.492, allocations: 343.8 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.492, allocations: 0 / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.4922, allocations: 168 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4926, allocations: 44.48 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4941, allocations: 0.839 MB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.4946, allocations: 0.835 MB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.4949, allocations: 94.94 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.495, allocations: 39.42 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.495, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Templates: time 0.01651/0.5115, allocations: 8.096 MB / 1.333 GB, free: 6.531 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.346878218464553]