Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00672/0.00672, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7795, allocations: 142.4 MB / 0.9551 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00103/0.7806, allocations: 414.2 kB / 0.9555 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.7828, allocations: 1.328 MB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.783, allocations: 1.312 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.7836, allocations: 189.9 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.7839, allocations: 91.7 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.7847, allocations: 209.5 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.7853, allocations: 443.7 kB / 0.9577 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.651e-05/0.7854, allocations: 9.25 kB / 0.9577 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.7856, allocations: 182.7 kB / 0.9578 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.7859, allocations: 202.7 kB / 0.958 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.786, allocations: 11 kB / 0.958 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.7862, allocations: 74.38 kB / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.7865, allocations: 240.4 kB / 0.9583 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.7867, allocations: 165.5 kB / 0.9585 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.7872, allocations: 457.2 kB / 0.9589 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.7872, allocations: 0.8438 kB / 0.9589 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7873, allocations: 4 kB / 0.9589 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.7873, allocations: 0 / 0.9589 GB, free: 5.066 MB / 0.7169 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.0009234/0.7882, allocations: 0.5256 MB / 0.9595 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.7883, allocations: 9.188 kB / 0.9595 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7884, allocations: 30.97 kB / 0.9595 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.7889, allocations: 376.6 kB / 0.9599 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.789, allocations: 20.55 kB / 0.9599 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/0.7891, allocations: 24.81 kB / 0.9599 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.7894, allocations: 192.2 kB / 0.9601 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7894, allocations: 0 / 0.9601 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.7895, allocations: 0.9375 kB / 0.9601 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7895, allocations: 5.391 kB / 0.9601 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.7897, allocations: 114.6 kB / 0.9602 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.7902, allocations: 391.1 kB / 0.9606 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.7908, allocations: 312.4 kB / 0.9609 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.7909, allocations: 122 kB / 0.961 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.791, allocations: 1.344 kB / 0.961 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.7914, allocations: 289.4 kB / 0.9613 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.7914, allocations: 4 kB / 0.9613 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0009099/0.7924, allocations: 0.4966 MB / 0.9618 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.7924, allocations: 111.8 kB / 0.9619 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.7929, allocations: 398.6 kB / 0.9622 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.793, allocations: 40.61 kB / 0.9623 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.7932, allocations: 158.3 kB / 0.9624 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.7932, allocations: 38.75 kB / 0.9625 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.7933, allocations: 32.33 kB / 0.9625 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.7934, allocations: 344 kB / 0.9628 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.7935, allocations: 86.58 kB / 0.9629 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.794, allocations: 466 kB / 0.9634 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.7943, allocations: 254.2 kB / 0.9636 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7943, allocations: 1 kB / 0.9636 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005226/0.7948, allocations: 332.7 kB / 0.9639 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.7948, allocations: 6.812 kB / 0.9639 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7949, allocations: 4.375 kB / 0.9639 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.7949, allocations: 17.41 kB / 0.9639 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.7951, allocations: 32.12 kB / 0.964 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.7951, allocations: 5 kB / 0.964 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.7959, allocations: 87.97 kB / 0.9641 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.7959, allocations: 10.98 kB / 0.9641 GB, free: 1.234 MB / 0.7169 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.0002208/0.7961, allocations: 199.7 kB / 0.9643 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.7962, allocations: 27.84 kB / 0.9643 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.7963, allocations: 33.48 kB / 0.9643 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7963, allocations: 3 kB / 0.9643 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.7963, allocations: 1 kB / 0.9643 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7963, allocations: 4.953 kB / 0.9643 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.7966, allocations: 283.5 kB / 0.9646 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7966, allocations: 1.266 kB / 0.9646 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.7966, allocations: 7.266 kB / 0.9646 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7966, allocations: 4.969 kB / 0.9646 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.7966, allocations: 7.844 kB / 0.9646 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7967, allocations: 6.047 kB / 0.9646 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7967, allocations: 5.078 kB / 0.9646 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.7972, allocations: 441.9 kB / 0.9651 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.7973, allocations: 111.8 kB / 0.9652 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.7974, allocations: 14.03 kB / 0.9652 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.7975, allocations: 1.375 kB / 0.9652 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.7975, allocations: 20.06 kB / 0.9652 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.7976, allocations: 14.34 kB / 0.9652 GB, free: 388 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002995/0.7979, allocations: 288.1 kB / 0.9655 GB, free: 224 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7979, allocations: 0 / 0.9655 GB, free: 224 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004309/0.7983, allocations: 79.27 kB / 0.9656 GB, free: 208 kB / 0.7169 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.0002235/0.7985, allocations: 146.7 kB / 0.9657 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004474/0.799, allocations: 254.2 kB / 0.9659 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.799, allocations: 0 / 0.9659 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.7992, allocations: 147.8 kB / 0.9661 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.7996, allocations: 28.86 kB / 0.9661 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.8006, allocations: 0.6118 MB / 0.9667 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.8009, allocations: 0.7708 MB / 0.9675 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.8011, allocations: 42.33 kB / 0.9675 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.8012, allocations: 31.86 kB / 0.9675 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8012, allocations: 0 / 0.9675 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.00984/0.811, allocations: 4.783 MB / 0.9722 GB, free: 12.41 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches