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.001978/0.001978, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002519/0.002519, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001947/0.001947, allocations: 71.83 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001896/1.141, allocations: 0.8669 MB / 1.306 GB, free: 32.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00166/1.142, allocations: 1.469 MB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/1.142, allocations: 2.875 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004614/1.143, allocations: 200.7 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/1.143, allocations: 108.9 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/1.144, allocations: 358.1 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000733/1.145, allocations: 0.8785 MB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/1.145, allocations: 57.75 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/1.145, allocations: 348.7 kB / 1.31 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/1.145, allocations: 287.6 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/1.146, allocations: 45.22 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/1.146, allocations: 115.8 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003458/1.146, allocations: 352.1 kB / 1.31 GB, free: 30.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/1.146, allocations: 278.9 kB / 1.311 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000705/1.147, allocations: 0.9134 MB / 1.312 GB, free: 30.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.147, allocations: 0 / 1.312 GB, free: 30.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/1.147, allocations: 0 / 1.312 GB, free: 30.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.147, allocations: 0 / 1.312 GB, free: 30.41 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.001358/1.148, allocations: 0.9119 MB / 1.312 GB, free: 29.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.148, allocations: 11.58 kB / 1.312 GB, free: 29.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/1.149, allocations: 53.59 kB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/1.149, allocations: 0.5427 MB / 1.313 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.149, allocations: 24.81 kB / 1.313 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.149, allocations: 37.81 kB / 1.313 GB, free: 29.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/1.15, allocations: 309.2 kB / 1.313 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.15, allocations: 12.11 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.15, allocations: 6.688 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.15, allocations: 3.031 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/1.15, allocations: 223.5 kB / 1.314 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/1.152, allocations: 1.178 MB / 1.315 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/1.152, allocations: 460.8 kB / 1.315 GB, free: 28.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/1.153, allocations: 184.6 kB / 1.315 GB, free: 28.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.153, allocations: 0 / 1.315 GB, free: 28.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/1.153, allocations: 337.3 kB / 1.316 GB, free: 28.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/1.153, allocations: 0 / 1.316 GB, free: 28.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.0009889/1.154, allocations: 0.6293 MB / 1.316 GB, free: 27.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/1.154, allocations: 126.6 kB / 1.316 GB, free: 27.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/1.155, allocations: 0.5935 MB / 1.317 GB, free: 27.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/1.155, allocations: 42.48 kB / 1.317 GB, free: 27.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.155, allocations: 217.9 kB / 1.317 GB, free: 27.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/1.155, allocations: 53.98 kB / 1.317 GB, free: 27.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.155, allocations: 182.9 kB / 1.317 GB, free: 27.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/1.155, allocations: 363.8 kB / 1.318 GB, free: 26.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/1.155, allocations: 119.2 kB / 1.318 GB, free: 26.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/1.156, allocations: 0.7178 MB / 1.319 GB, free: 26.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/1.156, allocations: 300.5 kB / 1.319 GB, free: 26.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.156, allocations: 0.75 kB / 1.319 GB, free: 26.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000527/1.157, allocations: 427.2 kB / 1.319 GB, free: 25.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.157, allocations: 8.641 kB / 1.319 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.157, allocations: 8.969 kB / 1.319 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/1.157, allocations: 2.875 kB / 1.319 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/1.157, allocations: 34.67 kB / 1.319 GB, free: 25.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.157, allocations: 9.781 kB / 1.319 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.158, allocations: 144.5 kB / 1.32 GB, free: 25.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/1.158, allocations: 9.75 kB / 1.32 GB, free: 25.8 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.0002513/1.159, allocations: 253.8 kB / 1.32 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/1.159, allocations: 52.03 kB / 1.32 GB, free: 25.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/1.159, allocations: 53.67 kB / 1.32 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/1.159, allocations: 9.75 kB / 1.32 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.159, allocations: 0 / 1.32 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.159, allocations: 0 / 1.32 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/1.159, allocations: 402.6 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.159, allocations: 2.594 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/1.159, allocations: 9.562 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.159, allocations: 2.688 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/1.159, allocations: 9.469 kB / 1.32 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.159, allocations: 7.219 kB / 1.32 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.159, allocations: 6.812 kB / 1.32 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/1.16, allocations: 0.5112 MB / 1.321 GB, free: 25.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/1.16, allocations: 123.8 kB / 1.321 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/1.16, allocations: 4 kB / 1.321 GB, free: 24.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/1.16, allocations: 25 kB / 1.321 GB, free: 24.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/1.16, allocations: 33.06 kB / 1.321 GB, free: 24.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.16, allocations: 14.91 kB / 1.321 GB, free: 24.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004216/1.16, allocations: 436.2 kB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.16, allocations: 0 / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004626/1.161, allocations: 111.9 kB / 1.322 GB, free: 24.73 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.000224/1.161, allocations: 153 kB / 1.322 GB, free: 24.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006538/1.162, allocations: 347.8 kB / 1.322 GB, free: 24.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.162, allocations: 0 / 1.322 GB, free: 24.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/1.162, allocations: 165.5 kB / 1.322 GB, free: 24.47 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/1.162, allocations: 39.66 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.164, allocations: 0.8546 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.164, allocations: 0.8344 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002586/1.165, allocations: 96.73 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/1.165, allocations: 35.33 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/1.165, allocations: 0 / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of Templates: time 0.01863/1.183, allocations: 8.032 MB / 1.332 GB, free: 22.69 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] 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.091384240426123]