Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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.001074/0.001079, allocations: 100.2 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.001287/0.001287, 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.026/2.026, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.356/3.356, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005822, allocations: 12 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.135, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001268/1.137, allocations: 399.7 kB / 0.9813 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002914/1.14, allocations: 1.294 MB / 0.9825 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/1.14, allocations: 3.938 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008707/1.141, allocations: 179.7 kB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/1.141, allocations: 107.8 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/1.142, allocations: 202.5 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006224/1.143, allocations: 291.9 kB / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/1.143, allocations: 15.97 kB / 0.9833 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/1.143, allocations: 183.7 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/1.144, allocations: 179.6 kB / 0.9837 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/1.144, allocations: 12 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/1.144, allocations: 63.88 kB / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/1.144, allocations: 243.6 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/1.145, allocations: 61.58 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/1.145, allocations: 353.5 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.145, allocations: 0 / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.34e-06/1.145, allocations: 0 / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.677e-06/1.145, allocations: 7.938 kB / 0.9844 GB, free: 2.707 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001317/1.146, allocations: 0.5215 MB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/1.147, allocations: 8.031 kB / 0.9849 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.712e-05/1.147, allocations: 38.55 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/1.147, allocations: 31.72 kB / 0.9849 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/1.148, allocations: 371 kB / 0.9853 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/1.148, allocations: 15.98 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/1.148, allocations: 20 kB / 0.9853 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/1.148, allocations: 192 kB / 0.9855 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.148, allocations: 4 kB / 0.9855 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/1.148, allocations: 0 / 0.9855 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.148, allocations: 3.938 kB / 0.9855 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/1.149, allocations: 119.9 kB / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/1.149, allocations: 379.1 kB / 0.986 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/1.15, allocations: 319.8 kB / 0.9863 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/1.15, allocations: 4 kB / 0.9863 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/1.151, allocations: 289.6 kB / 0.9866 GB, free: 216 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.704e-06/1.151, allocations: 0 / 0.9866 GB, free: 216 kB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001231/1.152, allocations: 0.4898 MB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/1.152, allocations: 114.8 kB / 0.9872 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/1.153, allocations: 396.5 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/1.153, allocations: 41.7 kB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.153, allocations: 156.9 kB / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/1.153, allocations: 47.44 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/1.153, allocations: 12 kB / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.153, allocations: 338.8 kB / 0.9881 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.154, allocations: 79.95 kB / 0.9882 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/1.154, allocations: 466.9 kB / 0.9886 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/1.155, allocations: 120 kB / 0.9888 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.155, allocations: 11.94 kB / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007386/1.155, allocations: 320.9 kB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.156, allocations: 13.36 kB / 0.9891 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.156, allocations: 4 kB / 0.9891 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.156, allocations: 8.391 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.156, allocations: 31.92 kB / 0.9891 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.156, allocations: 8 kB / 0.9891 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.157, allocations: 82.7 kB / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/1.157, allocations: 12 kB / 0.9892 GB, free: 13.32 MB / 0.7481 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.0003568/1.157, allocations: 196.2 kB / 0.9894 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/1.157, allocations: 27.7 kB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.158, allocations: 41.84 kB / 0.9895 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.158, allocations: 4 kB / 0.9895 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.158, allocations: 0 / 0.9895 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.158, allocations: 7.922 kB / 0.9895 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/1.158, allocations: 281.4 kB / 0.9898 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.158, allocations: 3.984 kB / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/1.158, allocations: 8 kB / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.158, allocations: 4 kB / 0.9898 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/1.158, allocations: 4 kB / 0.9898 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/1.158, allocations: 12.08 kB / 0.9898 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.158, allocations: 7.922 kB / 0.9898 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/1.159, allocations: 449.7 kB / 0.9902 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/1.16, allocations: 124.6 kB / 0.9903 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/1.16, allocations: 8 kB / 0.9904 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/1.16, allocations: 0 / 0.9904 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/1.16, allocations: 19.97 kB / 0.9904 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/1.16, allocations: 12 kB / 0.9904 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005244/1.16, allocations: 291 kB / 0.9907 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4e-07/1.16, allocations: 0 / 0.9907 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007146/1.161, allocations: 76 kB / 0.9907 GB, free: 11.67 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: 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.001703/1.163, allocations: 1.162 MB / 0.9919 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007563/1.164, allocations: 255.7 kB / 0.9921 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.164, allocations: 0 / 0.9921 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/1.164, allocations: 143.9 kB / 0.9922 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/1.164, allocations: 16.66 kB / 0.9923 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/1.168, allocations: 3.206 MB / 0.9954 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/1.169, allocations: 0.7755 MB / 0.9962 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002909/1.169, allocations: 45.45 kB / 0.9962 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/1.169, allocations: 87.39 kB / 0.9963 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of SimCode: time 2.184e-06/1.169, allocations: 4 kB / 0.9963 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/1.207, allocations: 7.18 MB / 1.003 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003798/1.208, allocations: 217.8 kB / 1.004 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/4.162, allocations: 0 / 1.004 GB, free: 14.67 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat