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.0008228/0.0008228, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008057/0.0008057, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803/1.803, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.974e-06/1.974e-06, allocations: 0 / 0.9822 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.192e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001128/0.00115, allocations: 0.6716 MB / 0.9829 GB, free: 276 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.002673, allocations: 1.342 MB / 0.9842 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.00273, allocations: 8 kB / 0.9842 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.003144, allocations: 187.4 kB / 0.9844 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.003219, allocations: 107.7 kB / 0.9845 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.00375, allocations: 243.7 kB / 0.9847 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.004126, allocations: 495.7 kB / 0.9852 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.004168, allocations: 7.984 kB / 0.9852 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.004374, allocations: 243.7 kB / 0.9854 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.004639, allocations: 219.6 kB / 0.9856 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.004692, allocations: 20 kB / 0.9856 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.00486, allocations: 99.78 kB / 0.9857 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.005102, allocations: 275.4 kB / 0.986 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.005205, allocations: 119.7 kB / 0.9861 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.005651, allocations: 0.5338 MB / 0.9866 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005653, allocations: 0 / 0.9866 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.22e-07/0.005653, allocations: 0 / 0.9866 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.005658, allocations: 0 / 0.9866 GB, free: 12.39 MB / 0.9011 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.0006905/0.006349, allocations: 0.567 MB / 0.9872 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.006383, allocations: 8.031 kB / 0.9872 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.006477, allocations: 36.75 kB / 0.9872 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.006823, allocations: 329.7 kB / 0.9875 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.006838, allocations: 12.38 kB / 0.9876 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.006883, allocations: 20.38 kB / 0.9876 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.0071, allocations: 188.6 kB / 0.9878 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.007107, allocations: 192 / 0.9878 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.007121, allocations: 8.359 kB / 0.9878 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.007125, allocations: 384 / 0.9878 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.007243, allocations: 107.9 kB / 0.9879 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.007486, allocations: 274.8 kB / 0.9881 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.007802, allocations: 315.6 kB / 0.9884 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.007921, allocations: 122.6 kB / 0.9885 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.00793, allocations: 7.984 kB / 0.9886 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.008203, allocations: 273.6 kB / 0.9888 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.008204, allocations: 4 kB / 0.9888 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0005466/0.008751, allocations: 0.49 MB / 0.9893 GB, free: 9.492 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.008805, allocations: 114.8 kB / 0.9894 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.009086, allocations: 404.4 kB / 0.9898 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.009127, allocations: 41.7 kB / 0.9898 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.009214, allocations: 152.8 kB / 0.99 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.009244, allocations: 43.69 kB / 0.99 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.009344, allocations: 121.5 kB / 0.9901 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.009441, allocations: 354.7 kB / 0.9905 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.009523, allocations: 79.95 kB / 0.9905 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/0.01016, allocations: 1.087 MB / 0.9916 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.01035, allocations: 253.7 kB / 0.9919 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01035, allocations: 4 kB / 0.9919 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003151/0.01067, allocations: 333.1 kB / 0.9922 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01068, allocations: 10.02 kB / 0.9922 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01069, allocations: 4 kB / 0.9922 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.0107, allocations: 4 kB / 0.9922 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01081, allocations: 35.92 kB / 0.9922 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01081, allocations: 7.938 kB / 0.9922 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.01117, allocations: 68.33 kB / 0.9923 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01118, allocations: 16 kB / 0.9923 GB, free: 6.008 MB / 0.9011 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.0001322/0.01132, allocations: 195.7 kB / 0.9925 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.01134, allocations: 31.8 kB / 0.9925 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.01138, allocations: 33.95 kB / 0.9926 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01138, allocations: 4 kB / 0.9926 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.01139, allocations: 0 / 0.9926 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01139, allocations: 7.938 kB / 0.9926 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.01153, allocations: 205.2 kB / 0.9928 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01153, allocations: 0 / 0.9928 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.01154, allocations: 7.938 kB / 0.9928 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01155, allocations: 4 kB / 0.9928 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01156, allocations: 7.984 kB / 0.9928 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01156, allocations: 0 / 0.9928 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01156, allocations: 0 / 0.9928 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.01193, allocations: 426.5 kB / 0.9932 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.01195, allocations: 31.8 kB / 0.9932 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01197, allocations: 3.984 kB / 0.9932 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.01203, allocations: 12 kB / 0.9932 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.01206, allocations: 15.92 kB / 0.9933 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01208, allocations: 15.98 kB / 0.9933 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001922/0.01228, allocations: 287 kB / 0.9935 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.01228, allocations: 0 / 0.9935 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002431/0.01252, allocations: 79.88 kB / 0.9936 GB, free: 4.605 MB / 0.9011 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.0001551/0.01267, allocations: 139.7 kB / 0.9938 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.01296, allocations: 267.6 kB / 0.994 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01296, allocations: 0 / 0.994 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.0131, allocations: 144 kB / 0.9941 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01329, allocations: 31.02 kB / 0.9942 GB, free: 4.027 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.01391, allocations: 0.6118 MB / 0.9948 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.014, allocations: 154 kB / 0.9949 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.01406, allocations: 32.5 kB / 0.995 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of SimCode: time 6.32e-07/0.01406, allocations: 0 / 0.995 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of Templates: time 0.004182/0.01824, allocations: 4.397 MB / 0.9992 GB, free: 14.85 MB / 0.9167 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: 7.383055786602199]