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.001885/0.001885, allocations: 104.2 kB / 19.74 MB, free: 2.062 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.002207/0.002207, allocations: 210.3 kB / 23.04 MB, free: 4.852 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.001991/0.001991, allocations: 68.94 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002121/0.342, allocations: 0.8293 MB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.3441, allocations: 1.459 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.3442, allocations: 4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.3447, allocations: 199.4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.3449, allocations: 111.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.346, allocations: 373.6 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.347, allocations: 0.8699 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.3472, allocations: 56.56 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.3476, allocations: 347.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.3481, allocations: 291.2 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3482, allocations: 44 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.3485, allocations: 119.9 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.349, allocations: 363.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.3493, allocations: 239 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3504, allocations: 0.9152 MB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3504, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3504, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.3504, allocations: 3.938 kB / 1.333 GB, free: 10.75 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.001679/0.3521, allocations: 0.828 MB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3521, allocations: 8.031 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.3523, allocations: 56.66 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/0.3532, allocations: 496.5 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.3532, allocations: 24.61 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3533, allocations: 40.38 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3538, allocations: 315.8 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3538, allocations: 192 / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3538, allocations: 7.938 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3539, allocations: 7.938 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.3542, allocations: 219.8 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.3561, allocations: 1.004 MB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.3568, allocations: 455.7 kB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.357, allocations: 178.6 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.357, allocations: 8 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004956/0.3575, allocations: 343.8 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.3575, allocations: 0 / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001091/0.3586, allocations: 0.626 MB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.3587, allocations: 114.8 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.3595, allocations: 0.5994 MB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/0.3596, allocations: 45.69 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.3598, allocations: 217.7 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.3599, allocations: 55.62 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.3602, allocations: 181.5 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3604, allocations: 358.8 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3606, allocations: 127.9 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.3621, allocations: 1.775 MB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.3625, allocations: 308.5 kB / 1.341 GB, free: 1.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3625, allocations: 0 / 1.341 GB, free: 1.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007197/0.3632, allocations: 429 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3632, allocations: 10.62 kB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3632, allocations: 4 kB / 1.342 GB, free: 1.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3633, allocations: 4 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3634, allocations: 35.92 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3634, allocations: 7.938 kB / 1.342 GB, free: 1.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.3647, allocations: 128.2 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.3647, allocations: 19.92 kB / 1.342 GB, free: 1.09 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.0003552/0.3651, allocations: 254.2 kB / 1.342 GB, free: 0.832 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.3651, allocations: 47.7 kB / 1.342 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/0.3652, allocations: 55.62 kB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3652, allocations: 4 kB / 1.342 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3652, allocations: 7.938 kB / 1.342 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3652, allocations: 3.984 kB / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.3656, allocations: 289 kB / 1.343 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3656, allocations: 4 kB / 1.343 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.3656, allocations: 7.984 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3656, allocations: 0 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3657, allocations: 4 kB / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3657, allocations: 4 kB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3657, allocations: 7.984 kB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.3664, allocations: 0.5177 MB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.3665, allocations: 47.7 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.3665, allocations: 11.98 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3667, allocations: 15.98 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.3668, allocations: 35.89 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.3668, allocations: 12 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005368/0.3674, allocations: 431.1 kB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3674, allocations: 0 / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000487/0.3679, allocations: 115.8 kB / 1.344 GB, free: 15.18 MB / 1.045 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.0002597/0.3681, allocations: 149.7 kB / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006018/0.3687, allocations: 353.4 kB / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3687, allocations: 0 / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.369, allocations: 199.8 kB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3694, allocations: 43.08 kB / 1.344 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3708, allocations: 0.8827 MB / 1.345 GB, free: 13.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.371, allocations: 229.4 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.3711, allocations: 35.42 kB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.3711, allocations: 0 / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of Templates: time 0.0117/0.3828, allocations: 7.139 MB / 1.353 GB, free: 6.219 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: 12.243363013025373]