Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009445/0.0009445, allocations: 177.3 kB / 15.94 MB, free: 228 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.298/1.298, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.631/1.631, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0004726/0.0004727, allocations: 14.91 kB / 0.6736 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002115/0.2093, allocations: 1.606 MB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2104, allocations: 0.6559 MB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.2106, allocations: 7.938 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/0.2106, allocations: 11.86 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2108, allocations: 43.84 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.2112, allocations: 127.7 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.2116, allocations: 187.6 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2117, allocations: 36.38 kB / 0.7897 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.212, allocations: 107.7 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2122, allocations: 135.5 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.2122, allocations: 16 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.2123, allocations: 15.94 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.2123, allocations: 59.8 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.2124, allocations: 69.58 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2126, allocations: 203.7 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2126, allocations: 4 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2127, allocations: 0 / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.2127, allocations: 0 / 0.7903 GB, free: 8.656 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.001277/0.214, allocations: 0.6119 MB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.214, allocations: 8.031 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2141, allocations: 27.72 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2143, allocations: 199.5 kB / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.2145, allocations: 263.8 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.2146, allocations: 31.91 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.2151, allocations: 265.7 kB / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2152, allocations: 0 / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.2152, allocations: 15.98 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2152, allocations: 4 kB / 0.7917 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.2157, allocations: 188.5 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.2168, allocations: 0.7894 MB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.2172, allocations: 212.5 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.2173, allocations: 8.188 kB / 0.7929 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.2178, allocations: 319.6 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.2178, allocations: 0 / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009835/0.2188, allocations: 0.489 MB / 0.7936 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.2189, allocations: 118.7 kB / 0.7938 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2191, allocations: 176.6 kB / 0.7939 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.2191, allocations: 41.7 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.2192, allocations: 113.2 kB / 0.7941 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.2193, allocations: 157.9 kB / 0.7942 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.2194, allocations: 16 kB / 0.7942 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2195, allocations: 342.8 kB / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2198, allocations: 149.2 kB / 0.7947 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.2202, allocations: 256.8 kB / 0.795 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.2205, allocations: 167.9 kB / 0.7951 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2206, allocations: 0 / 0.7951 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007926/0.2214, allocations: 493.4 kB / 0.7956 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2214, allocations: 15.95 kB / 0.7956 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2214, allocations: 160 / 0.7956 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2214, allocations: 8 kB / 0.7956 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.2218, allocations: 99.81 kB / 0.7957 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2218, allocations: 11.98 kB / 0.7957 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.2221, allocations: 67.66 kB / 0.7958 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.2222, allocations: 20 kB / 0.7958 GB, free: 2.684 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.0001806/0.2224, allocations: 163.9 kB / 0.796 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.2224, allocations: 23.72 kB / 0.796 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/0.2225, allocations: 37.91 kB / 0.796 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2225, allocations: 8 kB / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2225, allocations: 0 / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.2225, allocations: 7.984 kB / 0.796 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.2229, allocations: 357.2 kB / 0.7964 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2229, allocations: 4 kB / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.2233, allocations: 75.89 kB / 0.7964 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2233, allocations: 0 / 0.7964 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.2233, allocations: 19.94 kB / 0.7965 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2234, allocations: 3.953 kB / 0.7965 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2234, allocations: 4 kB / 0.7965 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2244, allocations: 0.6131 MB / 0.7971 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.2245, allocations: 108.7 kB / 0.7972 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.2246, allocations: 12 kB / 0.7972 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.2248, allocations: 43.97 kB / 0.7972 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.2249, allocations: 43.97 kB / 0.7973 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.225, allocations: 16 kB / 0.7973 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.744e-05/0.2251, allocations: 129.1 kB / 0.7974 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2251, allocations: 0 / 0.7974 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003319/0.2254, allocations: 79.91 kB / 0.7975 GB, free: 0.8438 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.0001965/0.2256, allocations: 119.2 kB / 0.7976 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007523/0.2264, allocations: 394.6 kB / 0.798 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.2264, allocations: 4 kB / 0.798 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.2267, allocations: 183.7 kB / 0.7982 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.227, allocations: 40.03 kB / 0.7982 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2283, allocations: 0.7056 MB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2287, allocations: 0.7764 MB / 0.7996 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.2289, allocations: 34.97 kB / 0.7997 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.229, allocations: 35.42 kB / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.229, allocations: 0 / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.006796/0.2358, allocations: 3.027 MB / 0.8027 GB, free: 11.5 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) Environment - environmentSimulation: