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.001387/0.001387, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001877/0.001877, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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 3.483/3.483, allocations: 496 MB / 0.7835 GB, free: 33.45 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.001987/0.001987, allocations: 73.81 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3732, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002391/0.3756, allocations: 0.8781 MB / 1.308 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3778, allocations: 1.462 MB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.3779, allocations: 7.938 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.3784, allocations: 199.5 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.3786, allocations: 107.6 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3797, allocations: 376 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3808, allocations: 0.8777 MB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.381, allocations: 60.55 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.3814, allocations: 355.4 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.3819, allocations: 279.3 kB / 1.312 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.382, allocations: 44 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.3824, allocations: 135.8 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/0.3829, allocations: 359.2 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.3833, allocations: 278.8 kB / 1.313 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3845, allocations: 0.9073 MB / 1.313 GB, free: 11.51 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3845, allocations: 4 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3845, allocations: 3.984 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3845, allocations: 0 / 1.313 GB, free: 11.5 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.001702/0.3862, allocations: 0.8319 MB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3863, allocations: 12.92 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.3865, allocations: 52.66 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009089/0.3874, allocations: 0.4926 MB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.3874, allocations: 24.61 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.3876, allocations: 40.38 kB / 1.315 GB, free: 9.988 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.3881, allocations: 307.6 kB / 1.315 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3881, allocations: 192 / 1.315 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.3882, allocations: 7.938 kB / 1.315 GB, free: 9.668 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3882, allocations: 4 kB / 1.315 GB, free: 9.664 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.3886, allocations: 223.8 kB / 1.315 GB, free: 9.445 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.3908, allocations: 1.151 MB / 1.316 GB, free: 8.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.3916, allocations: 467.8 kB / 1.317 GB, free: 7.758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.3919, allocations: 174.6 kB / 1.317 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3919, allocations: 3.938 kB / 1.317 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005613/0.3925, allocations: 340.1 kB / 1.317 GB, free: 7.223 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.804e-06/0.3925, allocations: 0 / 1.317 GB, free: 7.223 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001223/0.3937, allocations: 0.6266 MB / 1.318 GB, free: 6.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3938, allocations: 118.7 kB / 1.318 GB, free: 6.449 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/0.3946, allocations: 0.5955 MB / 1.319 GB, free: 5.844 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.3947, allocations: 41.7 kB / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.395, allocations: 217.6 kB / 1.319 GB, free: 5.582 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.3951, allocations: 59.72 kB / 1.319 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.3954, allocations: 189.3 kB / 1.319 GB, free: 5.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3956, allocations: 362.8 kB / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.3958, allocations: 123.9 kB / 1.32 GB, free: 4.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.3969, allocations: 0.7188 MB / 1.32 GB, free: 3.953 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.3973, allocations: 292.6 kB / 1.321 GB, free: 3.621 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3973, allocations: 0 / 1.321 GB, free: 3.621 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007801/0.3981, allocations: 424.9 kB / 1.321 GB, free: 3.199 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3981, allocations: 9.875 kB / 1.321 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3981, allocations: 7.984 kB / 1.321 GB, free: 3.184 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3982, allocations: 4 kB / 1.321 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3983, allocations: 31.86 kB / 1.321 GB, free: 3.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.3983, allocations: 12.31 kB / 1.321 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3998, allocations: 137.2 kB / 1.321 GB, free: 3.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.3999, allocations: 12 kB / 1.321 GB, free: 2.992 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.000402/0.4003, allocations: 261.6 kB / 1.322 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.4004, allocations: 43.72 kB / 1.322 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.4005, allocations: 51.36 kB / 1.322 GB, free: 2.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4005, allocations: 7.938 kB / 1.322 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4005, allocations: 0 / 1.322 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4005, allocations: 4 kB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.4009, allocations: 380.3 kB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4009, allocations: 0 / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.401, allocations: 11.94 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.401, allocations: 4 kB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.401, allocations: 11.98 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.401, allocations: 3.938 kB / 1.322 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.401, allocations: 3.984 kB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.4018, allocations: 0.5138 MB / 1.323 GB, free: 1.637 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4019, allocations: 51.75 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.4019, allocations: 8 kB / 1.323 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.4021, allocations: 15.92 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.4022, allocations: 31.95 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.4022, allocations: 16 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005424/0.4028, allocations: 431.1 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4028, allocations: 4 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005212/0.4033, allocations: 111.8 kB / 1.323 GB, free: 0.9805 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.0002852/0.4036, allocations: 158.3 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006249/0.4042, allocations: 339.7 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4042, allocations: 0 / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.4044, allocations: 172.5 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4048, allocations: 37.95 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4062, allocations: 0.8381 MB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.4067, allocations: 0.8428 MB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00029/0.407, allocations: 91.06 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4071, allocations: 43.42 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of SimCode: time 6.42e-07/0.4071, allocations: 0 / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of Templates: time 0.01599/0.4231, allocations: 8.104 MB / 1.334 GB, free: 6.387 MB / 1.029 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/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: 10.014203613623977]