Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 110.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 489.3 MB / 0.7687 GB, free: 4 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9571/0.9591, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001888/0.9611, allocations: 0.8532 MB / 1.263 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.9629, allocations: 1.457 MB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.963, allocations: 10.03 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.9635, allocations: 197 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.9637, allocations: 113.6 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.9647, allocations: 367.9 kB / 1.266 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.9658, allocations: 0.8743 MB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.966, allocations: 98.78 kB / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.9664, allocations: 339.3 kB / 1.267 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.9668, allocations: 267.5 kB / 1.267 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.967, allocations: 45.69 kB / 1.267 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.9673, allocations: 102.9 kB / 1.267 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.9678, allocations: 344.2 kB / 1.268 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.9682, allocations: 281 kB / 1.268 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.9693, allocations: 0.9094 MB / 1.269 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9693, allocations: 4 kB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9693, allocations: 0.9062 kB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.9693, allocations: 0 / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001531/0.9709, allocations: 0.9035 MB / 1.27 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9709, allocations: 9 kB / 1.27 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.9711, allocations: 54.03 kB / 1.27 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.9719, allocations: 0.5465 MB / 1.27 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.9719, allocations: 27.36 kB / 1.27 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.972, allocations: 36.22 kB / 1.27 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.9725, allocations: 305 kB / 1.27 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.9726, allocations: 0.6875 kB / 1.27 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.9726, allocations: 13.06 kB / 1.271 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.9726, allocations: 2.938 kB / 1.271 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.973, allocations: 224.7 kB / 1.271 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.9748, allocations: 1.176 MB / 1.272 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.9755, allocations: 464.1 kB / 1.272 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.9757, allocations: 186.2 kB / 1.272 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.9757, allocations: 1.844 kB / 1.272 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.9762, allocations: 337.4 kB / 1.273 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.9762, allocations: 0 / 1.273 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001076/0.9773, allocations: 0.632 MB / 1.273 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.9773, allocations: 117 kB / 1.274 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.9781, allocations: 0.5959 MB / 1.274 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.9781, allocations: 44.59 kB / 1.274 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.9783, allocations: 220.7 kB / 1.274 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.9784, allocations: 56.42 kB / 1.274 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.9787, allocations: 191.6 kB / 1.275 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.9788, allocations: 356.7 kB / 1.275 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.979, allocations: 130.2 kB / 1.275 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/0.9798, allocations: 0.7133 MB / 1.276 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.9801, allocations: 295 kB / 1.276 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9801, allocations: 1.531 kB / 1.276 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000601/0.9807, allocations: 422.5 kB / 1.276 GB, free: 488 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9807, allocations: 9.25 kB / 1.276 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9807, allocations: 3.969 kB / 1.276 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.9808, allocations: 4.641 kB / 1.276 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.9809, allocations: 37.75 kB / 1.277 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.9809, allocations: 9.672 kB / 1.277 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.9822, allocations: 135.3 kB / 1.277 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.9823, allocations: 11.12 kB / 1.277 GB, free: 432 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002836/0.9826, allocations: 262.8 kB / 1.277 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.9826, allocations: 41.06 kB / 1.277 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.9827, allocations: 53.69 kB / 1.277 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.9827, allocations: 6.344 kB / 1.277 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.9827, allocations: 2.281 kB / 1.277 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.9828, allocations: 1.312 kB / 1.277 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.9832, allocations: 412.8 kB / 1.277 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9832, allocations: 4.062 kB / 1.277 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.9832, allocations: 9.844 kB / 1.277 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.9832, allocations: 2.75 kB / 1.277 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.9833, allocations: 9.594 kB / 1.277 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.9833, allocations: 5.906 kB / 1.277 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9833, allocations: 1.906 kB / 1.277 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.984, allocations: 0.5132 MB / 1.278 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.9841, allocations: 135.5 kB / 1.278 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.9842, allocations: 7.438 kB / 1.278 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.9844, allocations: 17.34 kB / 1.278 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.9845, allocations: 31.08 kB / 1.278 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.9845, allocations: 16.77 kB / 1.278 GB, free: 15.53 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005373/0.9851, allocations: 432.7 kB / 1.279 GB, free: 15.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9851, allocations: 1.438 kB / 1.279 GB, free: 15.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005441/0.9856, allocations: 107.8 kB / 1.279 GB, free: 15.34 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002658/0.9859, allocations: 149.7 kB / 1.279 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005838/0.9865, allocations: 348.9 kB / 1.279 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9865, allocations: 0 / 1.279 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.9868, allocations: 232.3 kB / 1.279 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.9871, allocations: 38.09 kB / 1.279 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.9885, allocations: 0.8853 MB / 1.28 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.989, allocations: 0.8328 MB / 1.281 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.9892, allocations: 38.27 kB / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.9892, allocations: 0 / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of Templates: time 0.01365/1.003, allocations: 7.019 MB / 1.288 GB, free: 13.15 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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: 12.357460340950638]