Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002182/0.002182, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002251/0.002251, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.939/2.939, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 0 / 0.9814 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.326e-05, allocations: 4.953 kB / 0.9814 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001864/0.001898, allocations: 0.6608 MB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.004064, allocations: 1.353 MB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.004128, allocations: 4 kB / 0.9834 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.004685, allocations: 191.5 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.004826, allocations: 103.6 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007597/0.005586, allocations: 243.2 kB / 0.9839 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.00627, allocations: 483.8 kB / 0.9844 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.00631, allocations: 3.938 kB / 0.9844 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.006635, allocations: 255.6 kB / 0.9846 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.007087, allocations: 223.6 kB / 0.9849 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.00719, allocations: 20 kB / 0.9849 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.00746, allocations: 95.84 kB / 0.985 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004379/0.007897, allocations: 283.4 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.00809, allocations: 115.7 kB / 0.9853 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007478/0.008837, allocations: 0.5221 MB / 0.9859 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008842, allocations: 4 kB / 0.9859 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.008843, allocations: 0 / 0.9859 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.008848, allocations: 0 / 0.9859 GB, free: 7.379 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001169/0.01002, allocations: 0.5708 MB / 0.9864 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01005, allocations: 8.031 kB / 0.9864 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.01019, allocations: 32.78 kB / 0.9865 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.01076, allocations: 321.7 kB / 0.9868 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.01078, allocations: 20.36 kB / 0.9868 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.01086, allocations: 20.38 kB / 0.9868 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.01119, allocations: 184.7 kB / 0.987 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.0112, allocations: 192 / 0.987 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.01123, allocations: 4.359 kB / 0.987 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.01124, allocations: 8.359 kB / 0.987 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.01142, allocations: 115.8 kB / 0.9871 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.01182, allocations: 270.9 kB / 0.9874 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.01232, allocations: 315.6 kB / 0.9877 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.01251, allocations: 126.6 kB / 0.9878 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.01252, allocations: 0 / 0.9878 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.01299, allocations: 277.6 kB / 0.988 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.013, allocations: 4 kB / 0.988 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009572/0.01395, allocations: 0.4972 MB / 0.9885 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.01405, allocations: 114.8 kB / 0.9886 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.01452, allocations: 404.4 kB / 0.989 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.0146, allocations: 45.64 kB / 0.9891 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01475, allocations: 148.8 kB / 0.9892 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.01481, allocations: 43.73 kB / 0.9893 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.01499, allocations: 117.5 kB / 0.9894 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.01517, allocations: 350.8 kB / 0.9897 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.01531, allocations: 83.95 kB / 0.9898 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009615/0.01627, allocations: 1.087 MB / 0.9908 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.01661, allocations: 253.5 kB / 0.9911 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01661, allocations: 0 / 0.9911 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005969/0.01721, allocations: 325.1 kB / 0.9914 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01723, allocations: 8.406 kB / 0.9914 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01724, allocations: 8 kB / 0.9914 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.01726, allocations: 7.984 kB / 0.9914 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01742, allocations: 27.92 kB / 0.9914 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.01744, allocations: 15.88 kB / 0.9915 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.0182, allocations: 76.78 kB / 0.9915 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.01823, allocations: 12 kB / 0.9915 GB, free: 0.9883 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002453/0.01847, allocations: 199.7 kB / 0.9917 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.01853, allocations: 27.81 kB / 0.9918 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.01859, allocations: 33.95 kB / 0.9918 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01859, allocations: 0 / 0.9918 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.0186, allocations: 4 kB / 0.9918 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.0186, allocations: 7.922 kB / 0.9918 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.01885, allocations: 201.2 kB / 0.992 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01885, allocations: 0 / 0.992 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.01887, allocations: 4 kB / 0.992 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01887, allocations: 0 / 0.992 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.01889, allocations: 15.98 kB / 0.992 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01889, allocations: 4 kB / 0.992 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01889, allocations: 0 / 0.992 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.01952, allocations: 436.6 kB / 0.9924 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.01958, allocations: 23.86 kB / 0.9925 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.01963, allocations: 11.94 kB / 0.9925 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.01972, allocations: 0 / 0.9925 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.01977, allocations: 19.92 kB / 0.9925 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.01981, allocations: 19.98 kB / 0.9925 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003361/0.02014, allocations: 287 kB / 0.9928 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.02014, allocations: 0 / 0.9928 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003932/0.02054, allocations: 83.88 kB / 0.9929 GB, free: 15.57 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002976/0.02083, allocations: 154.9 kB / 0.993 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.02129, allocations: 247.7 kB / 0.9932 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.02129, allocations: 0.8125 kB / 0.9932 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.02148, allocations: 119.9 kB / 0.9934 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.02176, allocations: 32.59 kB / 0.9934 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.02269, allocations: 0.5634 MB / 0.9939 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.02287, allocations: 157.2 kB / 0.9941 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.02298, allocations: 50.12 kB / 0.9941 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.02306, allocations: 28.48 kB / 0.9942 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.02306, allocations: 0 / 0.9942 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.01098/0.03404, allocations: 5.414 MB / 0.9995 GB, free: 8.867 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 8.50504107400775]