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.001788/0.001788, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002213/0.002213, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.891/2.891, allocations: 0.49 GB / 0.7923 GB, free: 1.508 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.00209/0.00209, allocations: 79.88 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9847/0.9868, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001899/0.9887, allocations: 0.87 MB / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.9904, allocations: 1.487 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.9904, allocations: 6.5 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.9909, allocations: 198.6 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.991, allocations: 113.8 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.9919, allocations: 351.9 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.9926, allocations: 0.881 MB / 1.326 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.9928, allocations: 77.39 kB / 1.326 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.9932, allocations: 352.3 kB / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.9936, allocations: 278.5 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.9937, allocations: 45.81 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.994, allocations: 108.6 kB / 1.327 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.9945, allocations: 356 kB / 1.327 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.9948, allocations: 273.7 kB / 1.327 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.9959, allocations: 0.9155 MB / 1.328 GB, free: 22.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.9959, allocations: 4.719 kB / 1.328 GB, free: 22.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9959, allocations: 0.6562 kB / 1.328 GB, free: 22.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.9959, allocations: 1 kB / 1.328 GB, free: 22.02 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.001708/0.9976, allocations: 0.9045 MB / 1.329 GB, free: 21.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9977, allocations: 9.375 kB / 1.329 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.9979, allocations: 54 kB / 1.329 GB, free: 21.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.9987, allocations: 0.5468 MB / 1.33 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.9987, allocations: 29.88 kB / 1.33 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.9988, allocations: 33.44 kB / 1.33 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.9993, allocations: 307.2 kB / 1.33 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9994, allocations: 1.094 kB / 1.33 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.9994, allocations: 14.83 kB / 1.33 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.9994, allocations: 6.953 kB / 1.33 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.9997, allocations: 221.3 kB / 1.33 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/1.002, allocations: 1.178 MB / 1.331 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/1.002, allocations: 456.4 kB / 1.332 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/1.003, allocations: 181.5 kB / 1.332 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/1.003, allocations: 5.969 kB / 1.332 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/1.003, allocations: 345.2 kB / 1.332 GB, free: 19.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.914e-06/1.003, allocations: 0 / 1.332 GB, free: 19.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.001422/1.005, allocations: 0.6238 MB / 1.333 GB, free: 19.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.005, allocations: 120 kB / 1.333 GB, free: 19.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/1.006, allocations: 0.5955 MB / 1.334 GB, free: 19.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/1.006, allocations: 49.34 kB / 1.334 GB, free: 19.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/1.006, allocations: 213.5 kB / 1.334 GB, free: 18.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/1.006, allocations: 56.97 kB / 1.334 GB, free: 18.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.006, allocations: 184 kB / 1.334 GB, free: 18.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.006, allocations: 360.2 kB / 1.334 GB, free: 18.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.007, allocations: 127 kB / 1.335 GB, free: 18.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/1.007, allocations: 0.7173 MB / 1.335 GB, free: 17.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/1.008, allocations: 298.9 kB / 1.335 GB, free: 17.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.008, allocations: 5.219 kB / 1.335 GB, free: 17.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006901/1.009, allocations: 426.6 kB / 1.336 GB, free: 17.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.009, allocations: 6.875 kB / 1.336 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.009, allocations: 2.75 kB / 1.336 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.009, allocations: 6.203 kB / 1.336 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/1.009, allocations: 43.06 kB / 1.336 GB, free: 17.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.009, allocations: 10.16 kB / 1.336 GB, free: 17.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.01, allocations: 125.8 kB / 1.336 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/1.01, allocations: 16.39 kB / 1.336 GB, free: 17.42 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.0003612/1.011, allocations: 257.9 kB / 1.336 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/1.011, allocations: 42.19 kB / 1.336 GB, free: 17.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/1.011, allocations: 52.45 kB / 1.336 GB, free: 17.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.011, allocations: 10.64 kB / 1.336 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.011, allocations: 2.734 kB / 1.336 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.011, allocations: 6.703 kB / 1.336 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/1.011, allocations: 403.4 kB / 1.337 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.011, allocations: 4 kB / 1.337 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/1.011, allocations: 13.91 kB / 1.337 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.011, allocations: 2.406 kB / 1.337 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/1.011, allocations: 5.156 kB / 1.337 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/1.011, allocations: 6.375 kB / 1.337 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.011, allocations: 1.375 kB / 1.337 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/1.012, allocations: 0.5229 MB / 1.337 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/1.012, allocations: 121.5 kB / 1.338 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/1.012, allocations: 4.688 kB / 1.338 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.012, allocations: 21.95 kB / 1.338 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/1.012, allocations: 30.39 kB / 1.338 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.012, allocations: 12.88 kB / 1.338 GB, free: 16.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005287/1.013, allocations: 432.8 kB / 1.338 GB, free: 16.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.013, allocations: 0 / 1.338 GB, free: 16.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005972/1.014, allocations: 116.7 kB / 1.338 GB, free: 16.34 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.0002496/1.014, allocations: 153.4 kB / 1.338 GB, free: 16.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006341/1.014, allocations: 347.1 kB / 1.339 GB, free: 16.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.014, allocations: 1.938 kB / 1.339 GB, free: 16.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/1.015, allocations: 204 kB / 1.339 GB, free: 16.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/1.015, allocations: 38.14 kB / 1.339 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/1.016, allocations: 0.8746 MB / 1.34 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/1.017, allocations: 0.8398 MB / 1.34 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.017, allocations: 39.09 kB / 1.341 GB, free: 14.85 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.017, allocations: 1.156 kB / 1.341 GB, free: 14.85 MB / 1.061 GB Notification: Performance of Templates: time 0.01586/1.033, allocations: 7.048 MB / 1.347 GB, free: 14.16 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/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.38515701200231]