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.749/2.749, allocations: 287.5 MB / 302.4 MB, free: 8.383 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.002518/0.002518, allocations: 180.8 kB / 371 MB, free: 10.88 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.123/2.123, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009987/0.0009979, allocations: 96.64 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 13.47 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2066, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002961/0.2096, allocations: 2.065 MB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.2128, allocations: 1.398 MB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.2131, allocations: 11.88 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.2138, allocations: 291.2 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.2146, allocations: 270.9 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.2159, allocations: 323.3 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009062/0.2168, allocations: 0.5918 MB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.2171, allocations: 73.72 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.2176, allocations: 278.7 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.218, allocations: 270.8 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.2181, allocations: 12 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.2184, allocations: 67.95 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2186, allocations: 163.4 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2187, allocations: 125.3 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.2195, allocations: 0.5846 MB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2195, allocations: 4 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2195, allocations: 0 / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.2195, allocations: 4 kB / 0.9848 GB, free: 21.72 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.001869/0.2214, allocations: 0.8903 MB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2215, allocations: 16.02 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.831e-05/0.2216, allocations: 46.55 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2218, allocations: 75.02 kB / 0.9858 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.2232, allocations: 0.5969 MB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.2233, allocations: 15.94 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.2233, allocations: 12 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.2239, allocations: 199.1 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2239, allocations: 4 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.224, allocations: 4 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.224, allocations: 7.953 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.2244, allocations: 103.8 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2263, allocations: 1.052 MB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.2272, allocations: 277 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.2276, allocations: 108.1 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.2276, allocations: 4 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.2282, allocations: 231.3 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.955e-06/0.2282, allocations: 0 / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001534/0.2298, allocations: 425.5 kB / 0.9888 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.2299, allocations: 158.2 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.2315, allocations: 1.02 MB / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.2316, allocations: 41.64 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.2319, allocations: 288.8 kB / 0.9902 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.232, allocations: 79.08 kB / 0.9903 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.2321, allocations: 15.94 kB / 0.9903 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.2321, allocations: 338 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.2328, allocations: 205.2 kB / 0.9908 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.2334, allocations: 299 kB / 0.9911 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.2341, allocations: 239.4 kB / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2341, allocations: 0 / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001775/0.2359, allocations: 0.6754 MB / 0.992 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.2359, allocations: 4 kB / 0.992 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.236, allocations: 7.938 kB / 0.992 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.236, allocations: 7.984 kB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.2368, allocations: 111.8 kB / 0.9921 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.2368, allocations: 11.98 kB / 0.9921 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.2374, allocations: 39.95 kB / 0.9922 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.2375, allocations: 28.06 kB / 0.9922 GB, free: 13.78 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.0004409/0.238, allocations: 277.6 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.2381, allocations: 75.02 kB / 0.9925 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.2383, allocations: 77.86 kB / 0.9926 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2383, allocations: 4 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2384, allocations: 4 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2384, allocations: 0 / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.2389, allocations: 469.1 kB / 0.9931 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.239, allocations: 0 / 0.9931 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2391, allocations: 19.94 kB / 0.9931 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.2391, allocations: 11.95 kB / 0.9931 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.2392, allocations: 11.98 kB / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2392, allocations: 4 kB / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2392, allocations: 0 / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2402, allocations: 387.4 kB / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.2405, allocations: 172.1 kB / 0.9937 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.2406, allocations: 11.95 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.241, allocations: 19.98 kB / 0.9937 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.2411, allocations: 23.97 kB / 0.9937 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.2411, allocations: 15.98 kB / 0.9937 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001008/0.2421, allocations: 0.6005 MB / 0.9943 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2421, allocations: 0 / 0.9943 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006704/0.2428, allocations: 116 kB / 0.9944 GB, free: 11.41 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.002454/0.2453, allocations: 1.313 MB / 0.9957 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.2466, allocations: 392 kB / 0.9961 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2466, allocations: 0 / 0.9961 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.247, allocations: 111.8 kB / 0.9962 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.2486, allocations: 196 kB / 0.9964 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/0.258, allocations: 4.468 MB / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.2586, allocations: 0.9211 MB / 1.002 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005036/0.2591, allocations: 112.9 kB / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.2595, allocations: 235.3 kB / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.2595, allocations: 0 / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.3212, allocations: 13.7 MB / 1.015 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/0.3217, allocations: 242.4 kB / 1.016 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.295, allocations: 0 / 1.016 GB, free: 5.891 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)