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.001001/0.001001, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009912/0.0009912, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.038/1.038, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.016/2.016, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.916e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001944/0.001964, allocations: 0.7362 MB / 0.7608 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.003598, allocations: 1.383 MB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.00366, allocations: 7.938 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.004097, allocations: 195.2 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.004212, allocations: 112.7 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.007841, allocations: 236 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.008348, allocations: 487.5 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.008389, allocations: 10.17 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.008653, allocations: 247.7 kB / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.008906, allocations: 167.7 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.008959, allocations: 20 kB / 0.7636 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.00918, allocations: 105.3 kB / 0.7637 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.009386, allocations: 183.6 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.009509, allocations: 115.7 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.009942, allocations: 430.8 kB / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.009944, allocations: 1.25 kB / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.71e-07/0.009945, allocations: 0 / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.00995, allocations: 3.938 kB / 0.7644 GB, free: 2.223 MB / 0.7136 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.003741/0.01369, allocations: 0.5116 MB / 0.7649 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.01373, allocations: 14.5 kB / 0.7649 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.01381, allocations: 24.91 kB / 0.7649 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.01413, allocations: 249.8 kB / 0.7651 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.01415, allocations: 12.38 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.01421, allocations: 20.38 kB / 0.7652 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.01439, allocations: 107.5 kB / 0.7653 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.01439, allocations: 6.875 kB / 0.7653 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.01441, allocations: 384 / 0.7653 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.01442, allocations: 4.375 kB / 0.7653 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.01448, allocations: 40.38 kB / 0.7653 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.01468, allocations: 131.1 kB / 0.7654 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.01488, allocations: 137.9 kB / 0.7656 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.01494, allocations: 39.81 kB / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.01494, allocations: 4 kB / 0.7656 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.01519, allocations: 219.7 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.01519, allocations: 0.9375 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003324/0.01552, allocations: 201.9 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.01558, allocations: 115.3 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.0158, allocations: 270.4 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.01585, allocations: 41.69 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.01593, allocations: 117.4 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.01597, allocations: 43.72 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.0161, allocations: 93.58 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.01619, allocations: 346.7 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/0.01925, allocations: 42.8 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.01999, allocations: 0.939 MB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.02018, allocations: 205.4 kB / 0.7682 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.02018, allocations: 0 / 0.7682 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002843/0.02046, allocations: 214.3 kB / 0.7684 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.02048, allocations: 4 kB / 0.7684 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.02049, allocations: 4 kB / 0.7684 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.0205, allocations: 4 kB / 0.7684 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.02065, allocations: 43.91 kB / 0.7684 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.02065, allocations: 8 kB / 0.7684 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.021, allocations: 67.45 kB / 0.7685 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.02102, allocations: 12.17 kB / 0.7685 GB, free: 13.44 MB / 0.7292 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.02115, allocations: 150.6 kB / 0.7686 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.02119, allocations: 27.91 kB / 0.7687 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.02124, allocations: 25.95 kB / 0.7687 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02124, allocations: 3.5 kB / 0.7687 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02125, allocations: 4 kB / 0.7687 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.02125, allocations: 4 kB / 0.7687 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.0214, allocations: 129.7 kB / 0.7688 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.0214, allocations: 4 kB / 0.7688 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.02141, allocations: 7.984 kB / 0.7688 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02142, allocations: 0 / 0.7688 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.02143, allocations: 4 kB / 0.7688 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.02143, allocations: 4 kB / 0.7688 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02143, allocations: 3.531 kB / 0.7688 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.02164, allocations: 189.9 kB / 0.769 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.02167, allocations: 27.84 kB / 0.7691 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.0217, allocations: 4 kB / 0.7691 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.02176, allocations: 0 / 0.7691 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.0218, allocations: 19.97 kB / 0.7691 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.02182, allocations: 8 kB / 0.7691 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00011/0.02193, allocations: 104.6 kB / 0.7692 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02193, allocations: 0 / 0.7692 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003342/0.02527, allocations: 79.92 kB / 0.7693 GB, free: 12.6 MB / 0.7292 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.0001792/0.02545, allocations: 130 kB / 0.7694 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.02569, allocations: 156.2 kB / 0.7695 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.02569, allocations: 4.656 kB / 0.7695 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.02578, allocations: 65.92 kB / 0.7696 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.02595, allocations: 24.59 kB / 0.7696 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.02653, allocations: 459.8 kB / 0.7701 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.616e-05/0.0266, allocations: 96.3 kB / 0.7702 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.481e-05/0.02669, allocations: 37.12 kB / 0.7702 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.0269, allocations: 107.3 kB / 0.7703 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/0.0269, allocations: 0.625 kB / 0.7703 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.01865/0.04555, allocations: 5.854 MB / 0.776 GB, free: 5.875 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] 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","",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.348329656291753]