Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001436/0.001436, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001585/0.001585, allocations: 187.8 kB / 22.1 MB, free: 4.223 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.451/1.451, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.902/2.902, allocations: 495.8 MB / 0.7831 GB, free: 12.29 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-maint.12.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.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 67.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003505/1.18, allocations: 0.8651 MB / 1.308 GB, free: 33.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002838/1.183, allocations: 1.465 MB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/1.183, allocations: 6.75 kB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000636/1.184, allocations: 199 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001923/1.184, allocations: 111.9 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/1.185, allocations: 376.1 kB / 1.31 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009916/1.186, allocations: 0.8785 MB / 1.311 GB, free: 31.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/1.186, allocations: 62.61 kB / 1.311 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/1.187, allocations: 352.5 kB / 1.311 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/1.187, allocations: 286.3 kB / 1.311 GB, free: 31.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/1.187, allocations: 46.75 kB / 1.311 GB, free: 31.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/1.188, allocations: 120.9 kB / 1.311 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005258/1.188, allocations: 366.6 kB / 1.312 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004468/1.189, allocations: 274.9 kB / 1.312 GB, free: 31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/1.19, allocations: 0.9152 MB / 1.313 GB, free: 30.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.19, allocations: 0 / 1.313 GB, free: 30.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/1.19, allocations: 0 / 1.313 GB, free: 30.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.517e-06/1.19, allocations: 0 / 1.313 GB, free: 30.71 MB / 1.061 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.001959/1.192, allocations: 0.8393 MB / 1.314 GB, free: 30.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.192, allocations: 8.844 kB / 1.314 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/1.192, allocations: 56.36 kB / 1.314 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.193, allocations: 0.4935 MB / 1.314 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/1.193, allocations: 22.36 kB / 1.314 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.193, allocations: 39.64 kB / 1.314 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/1.194, allocations: 305.6 kB / 1.315 GB, free: 29.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.194, allocations: 192 / 1.315 GB, free: 29.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/1.194, allocations: 15.34 kB / 1.315 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.194, allocations: 2.75 kB / 1.315 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/1.194, allocations: 217.5 kB / 1.315 GB, free: 29.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/1.196, allocations: 1.153 MB / 1.316 GB, free: 28.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/1.197, allocations: 456.8 kB / 1.316 GB, free: 28.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/1.197, allocations: 176.8 kB / 1.317 GB, free: 28.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/1.197, allocations: 6.625 kB / 1.317 GB, free: 28.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/1.198, allocations: 328.3 kB / 1.317 GB, free: 28.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/1.198, allocations: 0 / 1.317 GB, free: 28.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.0008912/1.199, allocations: 0.6289 MB / 1.317 GB, free: 28.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/1.199, allocations: 123.2 kB / 1.318 GB, free: 28.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/1.199, allocations: 0.5976 MB / 1.318 GB, free: 27.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/1.199, allocations: 43.52 kB / 1.318 GB, free: 27.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/1.199, allocations: 218 kB / 1.318 GB, free: 27.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/1.2, allocations: 51.7 kB / 1.318 GB, free: 27.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.2, allocations: 181.4 kB / 1.319 GB, free: 27.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/1.2, allocations: 364.3 kB / 1.319 GB, free: 27.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/1.2, allocations: 128.6 kB / 1.319 GB, free: 27.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/1.201, allocations: 0.7132 MB / 1.32 GB, free: 26.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/1.201, allocations: 304.3 kB / 1.32 GB, free: 26.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.201, allocations: 0 / 1.32 GB, free: 26.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005337/1.201, allocations: 424.1 kB / 1.321 GB, free: 26.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.201, allocations: 5.375 kB / 1.321 GB, free: 26.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.201, allocations: 5.562 kB / 1.321 GB, free: 26.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.202, allocations: 6.688 kB / 1.321 GB, free: 26.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.202, allocations: 38.39 kB / 1.321 GB, free: 26.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.202, allocations: 8.938 kB / 1.321 GB, free: 26.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.203, allocations: 137.4 kB / 1.321 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/1.203, allocations: 12.47 kB / 1.321 GB, free: 26.3 MB / 1.061 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.0002405/1.203, allocations: 261.3 kB / 1.321 GB, free: 26.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/1.203, allocations: 48.28 kB / 1.321 GB, free: 26.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/1.203, allocations: 50.72 kB / 1.321 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.203, allocations: 6.625 kB / 1.321 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.203, allocations: 2.5 kB / 1.321 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.203, allocations: 0 / 1.321 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/1.204, allocations: 379.3 kB / 1.321 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.204, allocations: 0 / 1.321 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/1.204, allocations: 12.89 kB / 1.321 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.204, allocations: 2.406 kB / 1.321 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.204, allocations: 10.75 kB / 1.321 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.204, allocations: 9.484 kB / 1.321 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.204, allocations: 4 kB / 1.321 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/1.204, allocations: 0.5025 MB / 1.322 GB, free: 25.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/1.204, allocations: 52.33 kB / 1.322 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/1.204, allocations: 6.891 kB / 1.322 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/1.204, allocations: 19.83 kB / 1.322 GB, free: 25.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/1.205, allocations: 38.42 kB / 1.322 GB, free: 25.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/1.205, allocations: 10.91 kB / 1.322 GB, free: 25.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003807/1.205, allocations: 434.3 kB / 1.323 GB, free: 25.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.205, allocations: 0 / 1.323 GB, free: 25.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004245/1.205, allocations: 114.8 kB / 1.323 GB, free: 25.36 MB / 1.061 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.000213/1.206, allocations: 153.2 kB / 1.323 GB, free: 25.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006242/1.206, allocations: 346.4 kB / 1.323 GB, free: 25.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.206, allocations: 0 / 1.323 GB, free: 25.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.207, allocations: 165.9 kB / 1.323 GB, free: 25.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/1.207, allocations: 34.53 kB / 1.323 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.208, allocations: 0.8497 MB / 1.324 GB, free: 24.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/1.209, allocations: 0.8343 MB / 1.325 GB, free: 23.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002251/1.209, allocations: 96.81 kB / 1.325 GB, free: 23.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/1.209, allocations: 34.19 kB / 1.325 GB, free: 23.9 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.209, allocations: 0 / 1.325 GB, free: 23.9 MB / 1.061 GB Notification: Performance of Templates: time 0.01914/1.228, allocations: 8.099 MB / 1.333 GB, free: 23.3 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.628878178074956]