Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001089/0.001089, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001328/0.001328, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.785/1.785, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.633e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001817/0.001854, allocations: 0.6942 MB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.003449, allocations: 1.375 MB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.003519, allocations: 5.125 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.004033, allocations: 201.6 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.004127, allocations: 105.2 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.004718, allocations: 245.6 kB / 0.7909 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.005139, allocations: 489.1 kB / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.005177, allocations: 5.594 kB / 0.7913 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.005391, allocations: 251.7 kB / 0.7916 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.005627, allocations: 187.7 kB / 0.7918 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.005689, allocations: 23.44 kB / 0.7918 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.005864, allocations: 99.77 kB / 0.7919 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.006056, allocations: 211.6 kB / 0.7921 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.006163, allocations: 119.7 kB / 0.7922 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.006551, allocations: 422.8 kB / 0.7926 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006553, allocations: 0 / 0.7926 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006554, allocations: 0 / 0.7926 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006559, allocations: 0 / 0.7926 GB, free: 7.848 MB / 0.7448 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.0007093/0.007268, allocations: 0.6673 MB / 0.7932 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.007297, allocations: 8.688 kB / 0.7933 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.007392, allocations: 33.33 kB / 0.7933 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.007705, allocations: 268.6 kB / 0.7935 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.007724, allocations: 9.125 kB / 0.7936 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.007768, allocations: 20.38 kB / 0.7936 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.007955, allocations: 126.1 kB / 0.7937 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.007964, allocations: 192 / 0.7937 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.007976, allocations: 0.9062 kB / 0.7937 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.007985, allocations: 4.375 kB / 0.7937 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.874e-05/0.008044, allocations: 37.28 kB / 0.7937 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.008332, allocations: 232.4 kB / 0.794 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.008535, allocations: 170.4 kB / 0.7941 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.008599, allocations: 43.11 kB / 0.7942 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.008607, allocations: 4 kB / 0.7942 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.008867, allocations: 233.1 kB / 0.7944 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.008868, allocations: 0.9688 kB / 0.7944 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0004576/0.009326, allocations: 313.3 kB / 0.7947 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.009389, allocations: 119.7 kB / 0.7948 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.009656, allocations: 366.2 kB / 0.7951 GB, free: 5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.009704, allocations: 37.7 kB / 0.7952 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.009825, allocations: 213.7 kB / 0.7954 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.009862, allocations: 43.72 kB / 0.7954 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.009981, allocations: 115.2 kB / 0.7955 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.01014, allocations: 0.5351 MB / 0.7961 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.01019, allocations: 35.97 kB / 0.7961 GB, free: 4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.01069, allocations: 1.044 MB / 0.7971 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.01087, allocations: 236 kB / 0.7973 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01087, allocations: 0 / 0.7973 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002693/0.01114, allocations: 236.6 kB / 0.7976 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01116, allocations: 8 kB / 0.7976 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.01117, allocations: 4 kB / 0.7976 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.01118, allocations: 5.562 kB / 0.7976 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.01131, allocations: 47.91 kB / 0.7976 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01132, allocations: 7.938 kB / 0.7976 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.01161, allocations: 72.39 kB / 0.7977 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01162, allocations: 8.812 kB / 0.7977 GB, free: 1.953 MB / 0.7448 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.0001386/0.01176, allocations: 192.7 kB / 0.7979 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.0118, allocations: 35.81 kB / 0.7979 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.01184, allocations: 25.95 kB / 0.798 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01184, allocations: 4.844 kB / 0.798 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.01184, allocations: 0 / 0.798 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01185, allocations: 3.984 kB / 0.798 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.01201, allocations: 182.5 kB / 0.7981 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.01201, allocations: 7.984 kB / 0.7981 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.01202, allocations: 4 kB / 0.7981 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01202, allocations: 0 / 0.7981 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.01203, allocations: 7.656 kB / 0.7982 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01204, allocations: 4 kB / 0.7982 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01204, allocations: 7.922 kB / 0.7982 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.01235, allocations: 319.4 kB / 0.7985 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.01238, allocations: 27.78 kB / 0.7985 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.0124, allocations: 4 kB / 0.7985 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.01246, allocations: 4 kB / 0.7985 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.0125, allocations: 19.97 kB / 0.7985 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01251, allocations: 8 kB / 0.7985 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001407/0.01266, allocations: 239.8 kB / 0.7988 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01266, allocations: 0 / 0.7988 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002773/0.01293, allocations: 79.92 kB / 0.7988 GB, free: 0.7422 MB / 0.7448 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.0001906/0.01312, allocations: 154.8 kB / 0.799 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.01333, allocations: 149.5 kB / 0.7991 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01334, allocations: 4 kB / 0.7991 GB, free: 440 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.01341, allocations: 72.22 kB / 0.7992 GB, free: 364 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01362, allocations: 41.22 kB / 0.7992 GB, free: 324 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.0142, allocations: 472 kB / 0.7997 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.01426, allocations: 96.3 kB / 0.7998 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.469e-05/0.01434, allocations: 32.33 kB / 0.7998 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.01451, allocations: 146.8 kB / 0.8 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of SimCode: time 6.82e-07/0.01451, allocations: 0 / 0.8 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.007656/0.02217, allocations: 5.889 MB / 0.8057 GB, free: 9.754 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.189070709049702]