Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007995/0.0007999, allocations: 86.33 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.0008006/0.0008007, 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 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004929, allocations: 19.84 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002021/0.2267, allocations: 1.622 MB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2278, allocations: 0.6557 MB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.2278, allocations: 3.938 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.2279, allocations: 11.86 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.228, allocations: 31.7 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.2283, allocations: 119.8 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.2286, allocations: 287.1 kB / 0.79 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2288, allocations: 40.38 kB / 0.79 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2289, allocations: 111.7 kB / 0.7901 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2291, allocations: 135.5 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.2291, allocations: 12 kB / 0.7903 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.2292, allocations: 16 kB / 0.7903 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.2292, allocations: 67.78 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.2293, allocations: 61.58 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2295, allocations: 207.7 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2295, allocations: 3.938 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2295, allocations: 4 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.2295, allocations: 0 / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001089/0.2306, allocations: 0.608 MB / 0.7912 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2307, allocations: 8.031 kB / 0.7912 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.2307, allocations: 27.72 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2309, allocations: 203.5 kB / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.2311, allocations: 267.8 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2312, allocations: 31.89 kB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.2316, allocations: 269.6 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2317, allocations: 0 / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2317, allocations: 12 kB / 0.792 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2317, allocations: 4 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.2321, allocations: 187.8 kB / 0.7922 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2332, allocations: 0.7778 MB / 0.7929 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.2336, allocations: 212.3 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.2339, allocations: 138.9 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.2339, allocations: 12.19 kB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005196/0.2344, allocations: 323.4 kB / 0.7936 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.553e-06/0.2344, allocations: 0 / 0.7936 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009379/0.2354, allocations: 0.4895 MB / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.2355, allocations: 118.8 kB / 0.7942 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2356, allocations: 172.6 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.2357, allocations: 41.7 kB / 0.7944 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.2357, allocations: 121.2 kB / 0.7945 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2359, allocations: 150 kB / 0.7946 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.2359, allocations: 12 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.236, allocations: 334.8 kB / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.2363, allocations: 153.2 kB / 0.7951 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.2367, allocations: 256.8 kB / 0.7953 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.237, allocations: 175.9 kB / 0.7955 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.237, allocations: 3.938 kB / 0.7955 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007799/0.2378, allocations: 492.9 kB / 0.796 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2378, allocations: 7.953 kB / 0.796 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2378, allocations: 7.984 kB / 0.796 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2378, allocations: 8 kB / 0.796 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.2382, allocations: 95.83 kB / 0.7961 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2382, allocations: 4 kB / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.2385, allocations: 79.59 kB / 0.7962 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.2385, allocations: 16 kB / 0.7962 GB, free: 2.387 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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.0001541/0.2387, allocations: 171.8 kB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.2387, allocations: 23.72 kB / 0.7964 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.371e-05/0.2388, allocations: 33.83 kB / 0.7964 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2388, allocations: 11.98 kB / 0.7964 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2389, allocations: 4 kB / 0.7964 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2389, allocations: 0 / 0.7964 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.2392, allocations: 353.2 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2392, allocations: 0 / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.2396, allocations: 79.89 kB / 0.7968 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2396, allocations: 0 / 0.7968 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.2396, allocations: 12 kB / 0.7969 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.2396, allocations: 7.953 kB / 0.7969 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2396, allocations: 7.984 kB / 0.7969 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.2406, allocations: 0.5979 MB / 0.7975 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.2407, allocations: 104.8 kB / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.2407, allocations: 12 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2409, allocations: 44.03 kB / 0.7976 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.241, allocations: 43.89 kB / 0.7976 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.2411, allocations: 19.98 kB / 0.7977 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.714e-05/0.2412, allocations: 125.2 kB / 0.7978 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2412, allocations: 0 / 0.7978 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003033/0.2415, allocations: 83.91 kB / 0.7979 GB, free: 0.5742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000152/0.2416, allocations: 123.3 kB / 0.798 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006938/0.2423, allocations: 392.4 kB / 0.7984 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2423, allocations: 4 kB / 0.7984 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.2427, allocations: 180.7 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.243, allocations: 44.09 kB / 0.7986 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2441, allocations: 0.7019 MB / 0.7993 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2444, allocations: 0.7686 MB / 0.8 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.2446, allocations: 38.97 kB / 0.8 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.2447, allocations: 35.42 kB / 0.8001 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2447, allocations: 0 / 0.8001 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.005982/0.2507, allocations: 3.037 MB / 0.803 GB, free: 11.23 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1) Environment - environmentSimulation: