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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008928/0.0008929, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001129/0.001129, allocations: 172.7 kB / 15.95 MB, free: 208 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 15.94 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7231, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.0008549/0.724, allocations: 392.9 kB / 0.9543 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.7258, allocations: 1.309 MB / 0.9555 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.7259, allocations: 4.969 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.7264, allocations: 184.5 kB / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.7266, allocations: 109.9 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.7271, allocations: 193.2 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.7276, allocations: 382.4 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.7277, allocations: 5.125 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.7279, allocations: 191 kB / 0.9566 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.7281, allocations: 190.2 kB / 0.9567 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.7282, allocations: 14.44 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.7284, allocations: 68.03 kB / 0.9568 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.7288, allocations: 249 kB / 0.9571 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.7288, allocations: 57.8 kB / 0.9571 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.7291, allocations: 354.6 kB / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7291, allocations: 0 / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7291, allocations: 0 / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7291, allocations: 0 / 0.9574 GB, free: 5.66 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.0006514/0.7298, allocations: 0.5249 MB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7299, allocations: 9.531 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.7299, allocations: 39.52 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.73, allocations: 33.84 kB / 0.958 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.7305, allocations: 378.8 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.7305, allocations: 16.14 kB / 0.9584 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.7306, allocations: 16.31 kB / 0.9584 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.7309, allocations: 184.5 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7309, allocations: 0 / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.731, allocations: 1.969 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.731, allocations: 10.05 kB / 0.9586 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.7312, allocations: 112.5 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.7316, allocations: 386.5 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.7321, allocations: 320.5 kB / 0.9594 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.7323, allocations: 125.5 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.7323, allocations: 4.859 kB / 0.9595 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004309/0.7328, allocations: 273.7 kB / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.7328, allocations: 0 / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0009349/0.7337, allocations: 0.4981 MB / 0.9603 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.7338, allocations: 120.2 kB / 0.9604 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.7343, allocations: 399.7 kB / 0.9608 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.7344, allocations: 40.3 kB / 0.9608 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.7345, allocations: 152.2 kB / 0.961 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.7346, allocations: 35.03 kB / 0.961 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.7346, allocations: 4 kB / 0.961 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.7347, allocations: 345.9 kB / 0.9613 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.7349, allocations: 88.52 kB / 0.9614 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.7355, allocations: 461.4 kB / 0.9618 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.7358, allocations: 138.3 kB / 0.962 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7358, allocations: 1.188 kB / 0.962 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006954/0.7365, allocations: 328.3 kB / 0.9623 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.7365, allocations: 6.188 kB / 0.9623 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7365, allocations: 3.406 kB / 0.9623 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.7366, allocations: 6.344 kB / 0.9623 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.7368, allocations: 35.81 kB / 0.9623 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.7368, allocations: 10.3 kB / 0.9623 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.7377, allocations: 82.62 kB / 0.9624 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.7378, allocations: 11.62 kB / 0.9624 GB, free: 1.969 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.0001761/0.7379, allocations: 192.6 kB / 0.9626 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.992e-05/0.738, allocations: 28.84 kB / 0.9626 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.738, allocations: 34.73 kB / 0.9627 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.738, allocations: 0 / 0.9627 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7381, allocations: 6.953 kB / 0.9627 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7381, allocations: 4 kB / 0.9627 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.7383, allocations: 286.8 kB / 0.963 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7383, allocations: 3.938 kB / 0.963 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.7383, allocations: 7.578 kB / 0.963 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7383, allocations: 1.438 kB / 0.963 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.7384, allocations: 3.844 kB / 0.963 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7384, allocations: 2.156 kB / 0.963 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7384, allocations: 1 kB / 0.963 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.739, allocations: 440.7 kB / 0.9634 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.7391, allocations: 120.4 kB / 0.9635 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.7392, allocations: 10.22 kB / 0.9635 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.7393, allocations: 0.9375 kB / 0.9635 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.7393, allocations: 20.28 kB / 0.9635 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.7394, allocations: 18.78 kB / 0.9636 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002876/0.7396, allocations: 289 kB / 0.9638 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7397, allocations: 0 / 0.9638 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005348/0.7402, allocations: 83.73 kB / 0.9639 GB, free: 0.9336 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.0008896/0.7411, allocations: 1.005 MB / 0.9649 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.7416, allocations: 252.2 kB / 0.9651 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7416, allocations: 0 / 0.9651 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.7418, allocations: 148.4 kB / 0.9653 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.7421, allocations: 27.23 kB / 0.9653 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.7453, allocations: 2.122 MB / 0.9674 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.7458, allocations: 0.7678 MB / 0.9681 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.746, allocations: 52.22 kB / 0.9682 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.7461, allocations: 80.41 kB / 0.9683 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.7461, allocations: 0 / 0.9683 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.7668, allocations: 7.306 MB / 0.9754 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.7671, allocations: 223.9 kB / 0.9756 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.692, allocations: 2.531 kB / 0.9756 GB, free: 9.457 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat