Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.939/2.939, allocations: 287.3 MB / 302.3 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 178.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 90.62 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 13.2 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004681/0.2151, allocations: 2.046 MB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004303/0.2194, allocations: 1.363 MB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.2197, allocations: 11.88 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.2204, allocations: 275.2 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.2211, allocations: 287.2 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2223, allocations: 340.6 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008635/0.2232, allocations: 431.1 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.2234, allocations: 73.7 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.2239, allocations: 294.8 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.2243, allocations: 247 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.2244, allocations: 12 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.2247, allocations: 59.84 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.2249, allocations: 167.5 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.225, allocations: 121.3 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.2256, allocations: 0.5846 MB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2257, allocations: 4 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2257, allocations: 0 / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2257, allocations: 0 / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001783/0.2275, allocations: 0.902 MB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2275, allocations: 16.02 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/0.2276, allocations: 42.55 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.2278, allocations: 79.02 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.229, allocations: 0.5892 MB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.2291, allocations: 15.94 kB / 0.986 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.2291, allocations: 19.92 kB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.2297, allocations: 191.2 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2297, allocations: 3.938 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.2297, allocations: 11.98 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2297, allocations: 7.953 kB / 0.9863 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.2301, allocations: 95.88 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.2318, allocations: 1.052 MB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.2327, allocations: 281.3 kB / 0.9876 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.2328, allocations: 7.953 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.2333, allocations: 227.4 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 3.126e-06/0.2333, allocations: 3.938 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001464/0.2348, allocations: 413.5 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.2349, allocations: 166.2 kB / 0.9884 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.2365, allocations: 1.024 MB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.2366, allocations: 41.69 kB / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.2369, allocations: 284.9 kB / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.237, allocations: 79.08 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.237, allocations: 12 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.2371, allocations: 330 kB / 0.9901 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.2377, allocations: 209.2 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.2383, allocations: 303 kB / 0.9906 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.239, allocations: 238.5 kB / 0.9909 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.239, allocations: 0 / 0.9909 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001633/0.2406, allocations: 0.6722 MB / 0.9915 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2407, allocations: 4 kB / 0.9915 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2407, allocations: 4 kB / 0.9915 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2407, allocations: 4 kB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.2414, allocations: 120 kB / 0.9916 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2415, allocations: 8.188 kB / 0.9916 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.242, allocations: 43.77 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.2421, allocations: 23.98 kB / 0.9917 GB, free: 14.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0004193/0.2425, allocations: 275.7 kB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.2427, allocations: 79 kB / 0.992 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2428, allocations: 69.89 kB / 0.9921 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.2428, allocations: 11.94 kB / 0.9921 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2429, allocations: 4 kB / 0.9921 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-06/0.2429, allocations: 3.938 kB / 0.9921 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.2434, allocations: 465.1 kB / 0.9926 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2434, allocations: 0 / 0.9926 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.2436, allocations: 20 kB / 0.9926 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.2436, allocations: 4 kB / 0.9926 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.2436, allocations: 11.94 kB / 0.9926 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2436, allocations: 0 / 0.9926 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2436, allocations: 4 kB / 0.9926 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.2446, allocations: 442.2 kB / 0.993 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2448, allocations: 168.1 kB / 0.9932 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.245, allocations: 8 kB / 0.9932 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.2453, allocations: 27.97 kB / 0.9932 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.2454, allocations: 19.94 kB / 0.9932 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.2454, allocations: 15.98 kB / 0.9933 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009815/0.2464, allocations: 0.6044 MB / 0.9939 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2464, allocations: 7.875 kB / 0.9939 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006996/0.2472, allocations: 116 kB / 0.994 GB, free: 11.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002421/0.2496, allocations: 1.619 MB / 0.9956 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.2508, allocations: 400 kB / 0.9959 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2508, allocations: 0 / 0.9959 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.2512, allocations: 116.1 kB / 0.996 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.2525, allocations: 179.7 kB / 0.9962 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.2554, allocations: 2.968 MB / 0.9991 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.2559, allocations: 0.9406 MB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004528/0.2564, allocations: 116.9 kB / 1 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.2568, allocations: 235.3 kB / 1 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.2568, allocations: 3.938 kB / 1 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/0.3147, allocations: 13.25 MB / 1.013 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.3151, allocations: 245.8 kB / 1.014 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/3.246, allocations: 3.938 kB / 1.014 GB, free: 7.91 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)