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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001148/0.001148, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001617/0.001617, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.6/2.6, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003751, allocations: 15.98 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8081, allocations: 142.4 MB / 0.9545 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0008136/0.809, allocations: 396.4 kB / 0.9548 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.8106, allocations: 1.31 MB / 0.9561 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.8107, allocations: 0 / 0.9561 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.8111, allocations: 188.8 kB / 0.9563 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.8113, allocations: 101.4 kB / 0.9564 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.8119, allocations: 215.6 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.8125, allocations: 375.9 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.8125, allocations: 3.406 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.8128, allocations: 191.9 kB / 0.9571 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.8131, allocations: 191.2 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.8132, allocations: 14.88 kB / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.8134, allocations: 69.75 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.8138, allocations: 240.7 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.8139, allocations: 59.45 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.8143, allocations: 353.3 kB / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.8143, allocations: 0 / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8143, allocations: 0 / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.8144, allocations: 1.375 kB / 0.958 GB, free: 5.387 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.0008515/0.8152, allocations: 0.5355 MB / 0.9586 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8153, allocations: 8.25 kB / 0.9586 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.8154, allocations: 33.55 kB / 0.9586 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.8159, allocations: 371.4 kB / 0.9589 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.8159, allocations: 17 kB / 0.959 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.816, allocations: 24.14 kB / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.8163, allocations: 184 kB / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8163, allocations: 0 / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.8163, allocations: 5 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.8164, allocations: 4.984 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.8166, allocations: 114.8 kB / 0.9593 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.817, allocations: 378.7 kB / 0.9596 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.8174, allocations: 320.3 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.8176, allocations: 121 kB / 0.9601 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.8176, allocations: 0.8438 kB / 0.9601 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.8181, allocations: 285.6 kB / 0.9603 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/0.8181, allocations: 0 / 0.9603 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008477/0.8189, allocations: 0.4947 MB / 0.9608 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.819, allocations: 120.9 kB / 0.9609 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.8194, allocations: 399.8 kB / 0.9613 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.8195, allocations: 46.03 kB / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8196, allocations: 147.7 kB / 0.9615 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.8197, allocations: 40.84 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.8197, allocations: 7.969 kB / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.8198, allocations: 342.5 kB / 0.9619 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.8199, allocations: 84.95 kB / 0.962 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.8203, allocations: 464.5 kB / 0.9624 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.8205, allocations: 135.3 kB / 0.9625 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.8205, allocations: 1.594 kB / 0.9625 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004718/0.821, allocations: 330.7 kB / 0.9628 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.821, allocations: 8.094 kB / 0.9629 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.821, allocations: 2.734 kB / 0.9629 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8211, allocations: 6.188 kB / 0.9629 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.8212, allocations: 33.58 kB / 0.9629 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.8212, allocations: 15.48 kB / 0.9629 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.8219, allocations: 80.98 kB / 0.963 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.8219, allocations: 14.19 kB / 0.963 GB, free: 1.723 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.8221, allocations: 191.6 kB / 0.9632 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.8222, allocations: 23.84 kB / 0.9632 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.8223, allocations: 38.11 kB / 0.9632 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.8223, allocations: 1.969 kB / 0.9632 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.8223, allocations: 5.031 kB / 0.9632 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8223, allocations: 4.922 kB / 0.9633 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.8226, allocations: 279.5 kB / 0.9635 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8226, allocations: 1 kB / 0.9635 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.8226, allocations: 11.94 kB / 0.9635 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8226, allocations: 1.031 kB / 0.9635 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.8226, allocations: 8.234 kB / 0.9635 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8227, allocations: 1.281 kB / 0.9635 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8227, allocations: 1.344 kB / 0.9635 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.8233, allocations: 437.5 kB / 0.964 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.8233, allocations: 123.8 kB / 0.9641 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.8234, allocations: 6.109 kB / 0.9641 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.8235, allocations: 9.344 kB / 0.9641 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.8235, allocations: 19.64 kB / 0.9641 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.8236, allocations: 14.39 kB / 0.9641 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003157/0.8239, allocations: 290 kB / 0.9644 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8239, allocations: 4 kB / 0.9644 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000421/0.8243, allocations: 79.55 kB / 0.9645 GB, free: 0.6914 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.8246, allocations: 134.2 kB / 0.9646 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.8251, allocations: 259.9 kB / 0.9649 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8251, allocations: 4.969 kB / 0.9649 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.8253, allocations: 143.5 kB / 0.965 GB, free: 440 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.8256, allocations: 26.3 kB / 0.965 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.8267, allocations: 0.5954 MB / 0.9656 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.8271, allocations: 0.7636 MB / 0.9664 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.8273, allocations: 54.03 kB / 0.9664 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.8274, allocations: 27.81 kB / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of SimCode: time 1.944e-06/0.8274, allocations: 0 / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.0105/0.8379, allocations: 4.621 MB / 0.9709 GB, free: 12.99 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