Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 180 kB / 327.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.5783 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007788/0.0007784, allocations: 95.47 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003805, allocations: 8.656 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 106.3 MB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002152/0.2042, allocations: 2.085 MB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2058, allocations: 1.233 MB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.206, allocations: 11.94 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.2064, allocations: 291.2 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.2068, allocations: 263 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.2074, allocations: 305.5 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.2079, allocations: 0.5646 MB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.208, allocations: 65.05 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2083, allocations: 258.7 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.2085, allocations: 254.9 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.2085, allocations: 12 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.2086, allocations: 51.92 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2088, allocations: 163.4 kB / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.2088, allocations: 117.3 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.2092, allocations: 0.538 MB / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2092, allocations: 0 / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2092, allocations: 0 / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2092, allocations: 0 / 0.9069 GB, free: 57.71 MB / 0.6042 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.0009867/0.2102, allocations: 0.8708 MB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2103, allocations: 8.031 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.2103, allocations: 71.11 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.2109, allocations: 0.554 MB / 0.9084 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.211, allocations: 12 kB / 0.9084 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.211, allocations: 12 kB / 0.9084 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.2113, allocations: 206.4 kB / 0.9086 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2114, allocations: 3.938 kB / 0.9086 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.2114, allocations: 4 kB / 0.9086 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2114, allocations: 8 kB / 0.9086 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.2116, allocations: 99.83 kB / 0.9087 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.2125, allocations: 1.032 MB / 0.9097 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.213, allocations: 273 kB / 0.9099 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2131, allocations: 104.2 kB / 0.91 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.2132, allocations: 15.97 kB / 0.9101 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.2135, allocations: 221.6 kB / 0.9103 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.2136, allocations: 0 / 0.9103 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0007719/0.2143, allocations: 417.7 kB / 0.9107 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2144, allocations: 162.2 kB / 0.9108 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/0.2152, allocations: 0.9888 MB / 0.9118 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2153, allocations: 41.7 kB / 0.9118 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2154, allocations: 276.9 kB / 0.9121 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.2155, allocations: 71.09 kB / 0.9122 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.2155, allocations: 12 kB / 0.9122 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.2156, allocations: 390.8 kB / 0.9125 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.2159, allocations: 209.2 kB / 0.9127 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.2162, allocations: 303 kB / 0.913 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2165, allocations: 235.5 kB / 0.9133 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2165, allocations: 0 / 0.9133 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008296/0.2174, allocations: 0.6613 MB / 0.9139 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2174, allocations: 4 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2174, allocations: 4 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2174, allocations: 4 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.2178, allocations: 116 kB / 0.914 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2178, allocations: 11.94 kB / 0.914 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.2181, allocations: 43.73 kB / 0.9141 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.2182, allocations: 24 kB / 0.9141 GB, free: 49.95 MB / 0.6042 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.0002336/0.2184, allocations: 273.6 kB / 0.9144 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.2185, allocations: 79.02 kB / 0.9144 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.2186, allocations: 69.58 kB / 0.9145 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2186, allocations: 4 kB / 0.9145 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2186, allocations: 4 kB / 0.9145 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2186, allocations: 4 kB / 0.9145 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2189, allocations: 449.3 kB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2189, allocations: 0 / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.219, allocations: 19.98 kB / 0.915 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.219, allocations: 4 kB / 0.915 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.219, allocations: 19.88 kB / 0.915 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.219, allocations: 7.875 kB / 0.915 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.219, allocations: 4 kB / 0.915 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.2195, allocations: 383.4 kB / 0.9154 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2197, allocations: 164.2 kB / 0.9155 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.2197, allocations: 11.98 kB / 0.9155 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2199, allocations: 19.94 kB / 0.9156 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.22, allocations: 27.91 kB / 0.9156 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.22, allocations: 16 kB / 0.9156 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000506/0.2205, allocations: 0.5693 MB / 0.9162 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2205, allocations: 0 / 0.9162 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000342/0.2209, allocations: 115.9 kB / 0.9163 GB, free: 47.63 MB / 0.6042 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.0009026/0.2218, allocations: 494.6 kB / 0.9167 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005859/0.2224, allocations: 396.6 kB / 0.9171 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2224, allocations: 0 / 0.9171 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2226, allocations: 111.8 kB / 0.9172 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.2233, allocations: 183.7 kB / 0.9174 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2246, allocations: 1.203 MB / 0.9186 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2248, allocations: 0.9172 MB / 0.9195 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2249, allocations: 55.42 kB / 0.9195 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2249, allocations: 0 / 0.9195 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.009318/0.2343, allocations: 8.349 MB / 0.9277 GB, free: 36.05 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)