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.001458/0.001458, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00176/0.00176, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.049/1.049, allocations: 177.1 MB / 204.2 MB, free: 5.664 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.799/1.799, allocations: 359 MB / 0.6052 GB, free: 11.02 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 1.844e-06/1.844e-06, allocations: 224 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.798e-05, allocations: 7.594 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001371/0.001399, allocations: 0.6933 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.002809, allocations: 1.379 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.002882, allocations: 0.9062 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.003349, allocations: 193.3 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.003429, allocations: 105.2 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.004018, allocations: 250.6 kB / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.004407, allocations: 484.5 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.004448, allocations: 5.641 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.004656, allocations: 255.7 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.004946, allocations: 224.3 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.005004, allocations: 20.72 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.005193, allocations: 91.84 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.005443, allocations: 280.5 kB / 0.791 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.00555, allocations: 111.8 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.006007, allocations: 422.8 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.00601, allocations: 0.9062 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.006012, allocations: 0 / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.006018, allocations: 3.938 kB / 0.7915 GB, free: 8.012 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.0008284/0.006846, allocations: 0.6721 MB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.006888, allocations: 9 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.006999, allocations: 32.8 kB / 0.7922 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.00732, allocations: 292.5 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007337, allocations: 17.33 kB / 0.7925 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.007379, allocations: 20.38 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.007587, allocations: 129.2 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.007595, allocations: 1.281 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.007612, allocations: 384 / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.007621, allocations: 4.375 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.007699, allocations: 49.34 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.007966, allocations: 287.9 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.008196, allocations: 201.7 kB / 0.7931 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.008272, allocations: 63.69 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.008278, allocations: 0 / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.008541, allocations: 259.7 kB / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.008542, allocations: 0 / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005961/0.009138, allocations: 381.8 kB / 0.7938 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.009191, allocations: 111.3 kB / 0.7939 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.009461, allocations: 379.6 kB / 0.7943 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.009509, allocations: 41.7 kB / 0.7943 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.009632, allocations: 207.5 kB / 0.7945 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.009672, allocations: 47.67 kB / 0.7946 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.009787, allocations: 116.5 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.009933, allocations: 0.5235 MB / 0.7952 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.01, allocations: 51.97 kB / 0.7952 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.0105, allocations: 1.069 MB / 0.7963 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.01071, allocations: 255.9 kB / 0.7965 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01071, allocations: 0 / 0.7965 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003068/0.01102, allocations: 280.2 kB / 0.7968 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01104, allocations: 4 kB / 0.7968 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01105, allocations: 4 kB / 0.7968 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01107, allocations: 4 kB / 0.7968 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.01123, allocations: 45.17 kB / 0.7968 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01124, allocations: 12 kB / 0.7968 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.01153, allocations: 62.28 kB / 0.7969 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.01155, allocations: 16.62 kB / 0.7969 GB, free: 1.777 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.0001321/0.01169, allocations: 188.4 kB / 0.7971 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.01172, allocations: 35.81 kB / 0.7971 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.01176, allocations: 29.89 kB / 0.7972 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01177, allocations: 9.094 kB / 0.7972 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01177, allocations: 0 / 0.7972 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01178, allocations: 7.938 kB / 0.7972 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.01195, allocations: 225.1 kB / 0.7974 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01195, allocations: 5.531 kB / 0.7974 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-06/0.01196, allocations: 0 / 0.7974 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01197, allocations: 7.938 kB / 0.7974 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01198, allocations: 7.984 kB / 0.7974 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01198, allocations: 0 / 0.7974 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01199, allocations: 3.859 kB / 0.7974 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.01232, allocations: 371.3 kB / 0.7978 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.01235, allocations: 27.8 kB / 0.7978 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.01237, allocations: 4 kB / 0.7978 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.01242, allocations: 3.984 kB / 0.7978 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.01247, allocations: 23.92 kB / 0.7978 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.0125, allocations: 15.98 kB / 0.7978 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001509/0.01265, allocations: 247 kB / 0.7981 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01265, allocations: 0 / 0.7981 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002764/0.01292, allocations: 76.84 kB / 0.7982 GB, free: 460 kB / 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.0002066/0.01313, allocations: 148.1 kB / 0.7983 GB, free: 300 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.0134, allocations: 187.6 kB / 0.7985 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0134, allocations: 0 / 0.7985 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.0135, allocations: 92.55 kB / 0.7986 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.01373, allocations: 37.08 kB / 0.7986 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.01432, allocations: 491.3 kB / 0.7991 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.01438, allocations: 93.64 kB / 0.7992 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.191e-05/0.01445, allocations: 35.17 kB / 0.7992 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.0145, allocations: 32.48 kB / 0.7992 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.0145, allocations: 0 / 0.7992 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.008114/0.02262, allocations: 5.785 MB / 0.8049 GB, free: 9.613 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.2227340447716415]