Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.0009632/0.0009631, allocations: 182.8 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.001051/0.00105, allocations: 86.31 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 13.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002624/0.2161, allocations: 2.061 MB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.2185, allocations: 1.402 MB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.2189, allocations: 7.875 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.2196, allocations: 295.2 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.2203, allocations: 274.9 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.2213, allocations: 327.6 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.2221, allocations: 0.5957 MB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.2223, allocations: 73.73 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.2229, allocations: 274.7 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.2233, allocations: 270.8 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.381e-05/0.2234, allocations: 16 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.2237, allocations: 59.97 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.2239, allocations: 171.4 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.224, allocations: 129.3 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.2246, allocations: 0.5846 MB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2246, allocations: 0 / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2246, allocations: 0 / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.2246, allocations: 0 / 0.986 GB, free: 21 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.00151/0.2262, allocations: 0.8981 MB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2262, allocations: 8.031 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.2263, allocations: 46.48 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2264, allocations: 79.02 kB / 0.987 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.2274, allocations: 0.593 MB / 0.9876 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2274, allocations: 15.94 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.2274, allocations: 12 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.2278, allocations: 194.7 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2278, allocations: 0 / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2278, allocations: 11.98 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2279, allocations: 4 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.2281, allocations: 103.8 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2294, allocations: 1.056 MB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.2299, allocations: 273 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.2301, allocations: 108.2 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2302, allocations: 4 kB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.2306, allocations: 239.3 kB / 0.9896 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.2306, allocations: 0 / 0.9896 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0009183/0.2315, allocations: 416.5 kB / 0.99 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.2316, allocations: 158.2 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2327, allocations: 1.024 MB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.2327, allocations: 45.64 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2329, allocations: 288.8 kB / 0.9914 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.233, allocations: 75.08 kB / 0.9915 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.2331, allocations: 16 kB / 0.9915 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7e-05/0.2331, allocations: 326 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.2335, allocations: 213.2 kB / 0.992 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2339, allocations: 303 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2343, allocations: 239.9 kB / 0.9925 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2343, allocations: 3.938 kB / 0.9925 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009709/0.2353, allocations: 0.6759 MB / 0.9932 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2353, allocations: 4 kB / 0.9932 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2353, allocations: 4 kB / 0.9932 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2353, allocations: 4 kB / 0.9932 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.2357, allocations: 112 kB / 0.9933 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2357, allocations: 15.98 kB / 0.9933 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.236, allocations: 39.77 kB / 0.9934 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.2361, allocations: 20 kB / 0.9934 GB, free: 13.07 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.0002452/0.2363, allocations: 278.9 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.2364, allocations: 79 kB / 0.9937 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2365, allocations: 73.89 kB / 0.9938 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2366, allocations: 4 kB / 0.9938 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.2366, allocations: 8 kB / 0.9938 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2366, allocations: 3.938 kB / 0.9938 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.2369, allocations: 469.1 kB / 0.9943 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2369, allocations: 0 / 0.9943 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.237, allocations: 19.94 kB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.237, allocations: 4 kB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2371, allocations: 11.94 kB / 0.9943 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2371, allocations: 4 kB / 0.9943 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2371, allocations: 0 / 0.9943 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2376, allocations: 391.4 kB / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2378, allocations: 168.1 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.2379, allocations: 12 kB / 0.9949 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.2381, allocations: 27.92 kB / 0.9949 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.2382, allocations: 15.98 kB / 0.9949 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.2382, allocations: 19.98 kB / 0.9949 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006539/0.2388, allocations: 0.5966 MB / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2389, allocations: 0 / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004697/0.2393, allocations: 116 kB / 0.9956 GB, free: 10.69 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.00169/0.241, allocations: 1.314 MB / 0.9969 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006853/0.2417, allocations: 396.3 kB / 0.9973 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2417, allocations: 4.062 kB / 0.9973 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.242, allocations: 103.8 kB / 0.9974 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.2428, allocations: 196.5 kB / 0.9976 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/0.249, allocations: 4.456 MB / 1.002 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.2495, allocations: 0.929 MB / 1.003 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004127/0.25, allocations: 121.5 kB / 1.003 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.2504, allocations: 231.3 kB / 1.003 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of SimCode: time 1.703e-06/0.2504, allocations: 0 / 1.003 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.285, allocations: 13.7 MB / 1.017 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.2852, allocations: 262.1 kB / 1.017 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/2.691, allocations: 0 / 1.017 GB, free: 5.066 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)