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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 222.6 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 67.8 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2926, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002214/0.2949, allocations: 0.8167 MB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.2971, allocations: 1.47 MB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2972, allocations: 4 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.2977, allocations: 191.4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.2979, allocations: 115.6 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.299, allocations: 361.5 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3002, allocations: 0.8738 MB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.3003, allocations: 60.55 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.3009, allocations: 351.5 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.3015, allocations: 291.2 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.3017, allocations: 48 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.3021, allocations: 119.9 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005237/0.3026, allocations: 363.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.303, allocations: 231.1 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.3041, allocations: 0.9229 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3041, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3041, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.3041, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 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.001899/0.306, allocations: 0.828 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.306, allocations: 8.031 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.3063, allocations: 52.66 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.3073, allocations: 0.4887 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.3073, allocations: 28.59 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3074, allocations: 36.38 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3079, allocations: 303 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3079, allocations: 4.188 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.308, allocations: 3.938 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.308, allocations: 4 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.3083, allocations: 227.7 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.3104, allocations: 1 MB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.3111, allocations: 455.7 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.3113, allocations: 174.6 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3114, allocations: 8 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.3119, allocations: 339.7 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.3119, allocations: 0 / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001192/0.3131, allocations: 0.626 MB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.3132, allocations: 118.7 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.314, allocations: 0.6032 MB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.3141, allocations: 45.7 kB / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.3144, allocations: 205.7 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.3145, allocations: 59.56 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.3148, allocations: 189.5 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.315, allocations: 354.8 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.3152, allocations: 131.9 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.3168, allocations: 1.775 MB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.3172, allocations: 308.5 kB / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3172, allocations: 3.984 kB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007593/0.318, allocations: 421.3 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.318, allocations: 8 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.318, allocations: 4 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.318, allocations: 8.25 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3182, allocations: 35.91 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3182, allocations: 11.94 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3195, allocations: 124 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3195, allocations: 16 kB / 1.341 GB, free: 2.07 MB / 1.029 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.0003791/0.3199, allocations: 262.2 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.32, allocations: 43.72 kB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.3201, allocations: 51.36 kB / 1.341 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3201, allocations: 4 kB / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3201, allocations: 7.938 kB / 1.341 GB, free: 1.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3201, allocations: 4.75 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.3205, allocations: 293 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3205, allocations: 0 / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.3205, allocations: 4 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3205, allocations: 4 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3205, allocations: 7.984 kB / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.3205, allocations: 3.938 kB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3205, allocations: 3.938 kB / 1.342 GB, free: 1.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.3213, allocations: 0.5197 MB / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3214, allocations: 47.75 kB / 1.342 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.3215, allocations: 12 kB / 1.342 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3216, allocations: 19.98 kB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.3217, allocations: 39.83 kB / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.3218, allocations: 8 kB / 1.342 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005723/0.3223, allocations: 439 kB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3223, allocations: 0 / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005171/0.3228, allocations: 111.8 kB / 1.343 GB, free: 156 kB / 1.029 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.00025/0.3231, allocations: 145.7 kB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.3237, allocations: 355.4 kB / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3237, allocations: 0 / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.3241, allocations: 191.8 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3244, allocations: 41.95 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3259, allocations: 0.8796 MB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.3261, allocations: 237.4 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3262, allocations: 31.44 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/0.3262, allocations: 0 / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of Templates: time 0.01231/0.3386, allocations: 7.141 MB / 1.352 GB, free: 7.207 MB / 1.045 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.754905616864562]