Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.0007907/0.0007908, allocations: 86.48 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.0009326/0.0009325, 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.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.478/2.478, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 19.94 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8208, allocations: 146.8 MB / 0.9812 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008612/0.8217, allocations: 395.7 kB / 0.9815 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.8235, allocations: 1.306 MB / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.8235, allocations: 0 / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.8241, allocations: 187.6 kB / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.8242, allocations: 103.7 kB / 0.9831 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.8248, allocations: 205.5 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.8253, allocations: 371.8 kB / 0.9836 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.186e-05/0.8254, allocations: 8 kB / 0.9837 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.8256, allocations: 195.6 kB / 0.9838 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.8259, allocations: 187.6 kB / 0.984 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.8259, allocations: 8 kB / 0.984 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.8261, allocations: 75.88 kB / 0.9841 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.8265, allocations: 251.4 kB / 0.9843 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.8265, allocations: 53.64 kB / 0.9844 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.8269, allocations: 357.5 kB / 0.9847 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.8269, allocations: 3.938 kB / 0.9847 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8269, allocations: 3.938 kB / 0.9847 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8269, allocations: 0 / 0.9847 GB, free: 2.531 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.0008639/0.8278, allocations: 0.5254 MB / 0.9853 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.8279, allocations: 8.031 kB / 0.9853 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.8279, allocations: 34.56 kB / 0.9853 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.828, allocations: 31.72 kB / 0.9853 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.8285, allocations: 379 kB / 0.9857 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.8286, allocations: 8 kB / 0.9857 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.8286, allocations: 20 kB / 0.9857 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.8289, allocations: 192 kB / 0.9859 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.829, allocations: 0 / 0.9859 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.829, allocations: 7.984 kB / 0.9859 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.829, allocations: 0 / 0.9859 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.8292, allocations: 107.9 kB / 0.986 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.8296, allocations: 387.1 kB / 0.9864 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.8301, allocations: 319.6 kB / 0.9867 GB, free: 356 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.8302, allocations: 126.5 kB / 0.9868 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.8303, allocations: 0 / 0.9868 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.8307, allocations: 289.5 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.8307, allocations: 0 / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0007764/0.8315, allocations: 0.4893 MB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.8316, allocations: 114.8 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.832, allocations: 396.5 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.8321, allocations: 37.7 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.8322, allocations: 164.9 kB / 0.9882 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.8323, allocations: 43.52 kB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.8323, allocations: 4 kB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8324, allocations: 346.8 kB / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.8326, allocations: 87.83 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.833, allocations: 463 kB / 0.9891 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.8332, allocations: 131.9 kB / 0.9893 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8332, allocations: 0 / 0.9893 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004572/0.8337, allocations: 324.8 kB / 0.9896 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.8337, allocations: 10.12 kB / 0.9896 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8337, allocations: 8 kB / 0.9896 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8337, allocations: 4 kB / 0.9896 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.8339, allocations: 35.91 kB / 0.9896 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.8339, allocations: 7.938 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.8346, allocations: 73.91 kB / 0.9897 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.8346, allocations: 12 kB / 0.9897 GB, free: 13.02 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.0002212/0.8348, allocations: 196 kB / 0.9899 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.8349, allocations: 27.91 kB / 0.9899 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.8349, allocations: 37.88 kB / 0.99 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.835, allocations: 4 kB / 0.99 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.835, allocations: 0 / 0.99 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.835, allocations: 7.922 kB / 0.99 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.8353, allocations: 289.3 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8353, allocations: 4 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.8353, allocations: 7.984 kB / 0.9903 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8353, allocations: 0 / 0.9903 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.8353, allocations: 7.953 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8353, allocations: 4 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8353, allocations: 128 / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.8359, allocations: 430.2 kB / 0.9907 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.836, allocations: 128.7 kB / 0.9908 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.8361, allocations: 4 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.8361, allocations: 7.953 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.8362, allocations: 19.97 kB / 0.9908 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.8362, allocations: 8 kB / 0.9908 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002929/0.8365, allocations: 287 kB / 0.9911 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8365, allocations: 0 / 0.9911 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003958/0.8369, allocations: 79.98 kB / 0.9912 GB, free: 11.4 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.000929/0.8379, allocations: 0.9977 MB / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.8383, allocations: 256 kB / 0.9924 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8383, allocations: 0 / 0.9924 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.8385, allocations: 144.5 kB / 0.9926 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.8388, allocations: 35.94 kB / 0.9926 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.8416, allocations: 2.111 MB / 0.9946 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.842, allocations: 0.7638 MB / 0.9954 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.8421, allocations: 57.81 kB / 0.9955 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.8423, allocations: 79.41 kB / 0.9955 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of SimCode: time 9.21e-07/0.8423, allocations: 4 kB / 0.9955 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.8618, allocations: 7.284 MB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.862, allocations: 209 kB / 1.003 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.893, allocations: 2.812 kB / 1.003 GB, free: 15.53 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable_res.mat does not exist to compare? outputFormat=mat