Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001352/0.001352, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001983/0.001983, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.375/2.375, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.364/4.364, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005987/0.0005987, allocations: 12 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267/1.268, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001791/1.27, allocations: 0.5603 MB / 0.9814 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003431/1.273, allocations: 1.382 MB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/1.273, allocations: 0 / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007517/1.274, allocations: 183.5 kB / 0.983 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/1.274, allocations: 111.8 kB / 0.9831 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/1.276, allocations: 315.1 kB / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001274/1.277, allocations: 0.499 MB / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/1.278, allocations: 80.44 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/1.279, allocations: 295.4 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007198/1.279, allocations: 215.4 kB / 0.9844 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/1.28, allocations: 16 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/1.28, allocations: 67.95 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007282/1.281, allocations: 303.4 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/1.281, allocations: 93.45 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/1.282, allocations: 0.6998 MB / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.282, allocations: 4 kB / 0.9856 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/1.282, allocations: 0 / 0.9856 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.403e-05/1.282, allocations: 0 / 0.9856 GB, free: 1.473 MB / 0.7325 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.002612/1.285, allocations: 0.697 MB / 0.9863 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/1.285, allocations: 8.031 kB / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/1.285, allocations: 46.55 kB / 0.9863 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/1.286, allocations: 59.42 kB / 0.9864 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/1.287, allocations: 0.5205 MB / 0.9869 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/1.288, allocations: 24.23 kB / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/1.288, allocations: 39.98 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/1.289, allocations: 301.6 kB / 0.9872 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/1.289, allocations: 0 / 0.9872 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/1.289, allocations: 11.94 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.289, allocations: 4 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/1.29, allocations: 223.8 kB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/1.294, allocations: 1.191 MB / 0.9886 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/1.295, allocations: 464 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/1.295, allocations: 4 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008086/1.296, allocations: 335.2 kB / 0.9894 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 2.715e-06/1.296, allocations: 0 / 0.9894 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.002126/1.298, allocations: 0.6296 MB / 0.99 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.298, allocations: 114.8 kB / 0.9901 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.3, allocations: 0.5955 MB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.3, allocations: 45.7 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/1.301, allocations: 218.9 kB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/1.301, allocations: 51.44 kB / 0.991 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/1.301, allocations: 4 kB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002342/1.301, allocations: 358.8 kB / 0.9913 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/1.301, allocations: 127.9 kB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.303, allocations: 0.7058 MB / 0.9921 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/1.303, allocations: 179.8 kB / 0.9923 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.303, allocations: 0 / 0.9923 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001361/1.305, allocations: 412.8 kB / 0.9927 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/1.305, allocations: 8.75 kB / 0.9927 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.305, allocations: 8.016 kB / 0.9927 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/1.305, allocations: 7.984 kB / 0.9927 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/1.305, allocations: 39.86 kB / 0.9928 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/1.305, allocations: 12.31 kB / 0.9928 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.308, allocations: 143 kB / 0.9929 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/1.308, allocations: 16 kB / 0.9929 GB, free: 9.488 MB / 0.7481 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000741/1.309, allocations: 257.7 kB / 0.9932 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/1.309, allocations: 43.47 kB / 0.9932 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/1.309, allocations: 55.36 kB / 0.9933 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.309, allocations: 0 / 0.9933 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.309, allocations: 4 kB / 0.9933 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.309, allocations: 7.891 kB / 0.9933 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/1.31, allocations: 405.2 kB / 0.9937 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.31, allocations: 0 / 0.9937 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/1.31, allocations: 12.25 kB / 0.9937 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/1.31, allocations: 4 kB / 0.9937 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/1.31, allocations: 11.98 kB / 0.9937 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.31, allocations: 0 / 0.9937 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.31, allocations: 0 / 0.9937 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.311, allocations: 0.5371 MB / 0.9942 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/1.312, allocations: 136.5 kB / 0.9944 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/1.312, allocations: 7.984 kB / 0.9944 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/1.312, allocations: 23.94 kB / 0.9944 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.312, allocations: 27.97 kB / 0.9944 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/1.312, allocations: 19.92 kB / 0.9944 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00103/1.313, allocations: 431 kB / 0.9948 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.01e-07/1.313, allocations: 0 / 0.9948 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001162/1.315, allocations: 111.9 kB / 0.9949 GB, free: 7.312 MB / 0.7481 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 (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.002259/1.317, allocations: 1.273 MB / 0.9962 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001275/1.318, allocations: 352 kB / 0.9965 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.318, allocations: 0 / 0.9965 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/1.319, allocations: 184 kB / 0.9967 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.319, allocations: 36.72 kB / 0.9967 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/1.324, allocations: 3.423 MB / 1 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/1.324, allocations: 0.8392 MB / 1.001 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005437/1.325, allocations: 97.45 kB / 1.001 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.325, allocations: 127.4 kB / 1.001 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of SimCode: time 1.382e-06/1.325, allocations: 0 / 1.001 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/1.357, allocations: 11.29 MB / 1.012 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/1.357, allocations: 225 kB / 1.012 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/4.232, allocations: 0 / 1.012 GB, free: 5.633 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat