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.001426/0.001432, allocations: 107.9 kB / 16.36 MB, free: 5.945 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.001524/0.001524, allocations: 194.4 kB / 17.3 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.811/1.811, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001442/0.001442, allocations: 72.45 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2221, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003889/0.2261, allocations: 1.968 MB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2275, allocations: 0.6904 MB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.2278, allocations: 0 / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.228, allocations: 19.73 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.2282, allocations: 51.52 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.2289, allocations: 151.7 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.472/0.7008, allocations: 314.3 kB / 0.7879 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.7011, allocations: 42.83 kB / 0.7879 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.7015, allocations: 137.7 kB / 0.7881 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.7017, allocations: 154.3 kB / 0.7882 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.7018, allocations: 30.06 kB / 0.7883 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.7018, allocations: 28.91 kB / 0.7883 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.7019, allocations: 74.17 kB / 0.7884 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.702, allocations: 137.5 kB / 0.7885 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.7024, allocations: 311.3 kB / 0.7888 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.7024, allocations: 2.125 kB / 0.7888 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7024, allocations: 0 / 0.7888 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7024, allocations: 0 / 0.7888 GB, free: 46.37 MB / 0.6544 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.001168/0.7036, allocations: 0.6231 MB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7036, allocations: 9.969 kB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.7037, allocations: 30 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.7038, allocations: 199.1 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.704, allocations: 270.6 kB / 0.7899 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.7041, allocations: 38.33 kB / 0.7899 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.7045, allocations: 261.9 kB / 0.7902 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7046, allocations: 0 / 0.7902 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.7046, allocations: 13.19 kB / 0.7902 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7046, allocations: 5.812 kB / 0.7902 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.705, allocations: 177.2 kB / 0.7904 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.706, allocations: 0.7715 MB / 0.7911 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.7065, allocations: 207.9 kB / 0.7913 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.7067, allocations: 134.7 kB / 0.7914 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.7067, allocations: 10.77 kB / 0.7914 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.7073, allocations: 314.1 kB / 0.7917 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 1.904e-06/0.7073, allocations: 0 / 0.7917 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009703/0.7083, allocations: 481.5 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.7084, allocations: 118 kB / 0.7923 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.7085, allocations: 174.8 kB / 0.7925 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.7086, allocations: 40.61 kB / 0.7925 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.7087, allocations: 123.2 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.7088, allocations: 148.4 kB / 0.7928 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.7089, allocations: 105.9 kB / 0.7929 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.709, allocations: 343.3 kB / 0.7932 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.7093, allocations: 145.9 kB / 0.7933 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.7096, allocations: 259.6 kB / 0.7936 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.7102, allocations: 397.9 kB / 0.794 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7102, allocations: 0 / 0.794 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007379/0.7109, allocations: 488.6 kB / 0.7944 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.711, allocations: 10.78 kB / 0.7944 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.711, allocations: 4.203 kB / 0.7945 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.711, allocations: 6.625 kB / 0.7945 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.7114, allocations: 98.34 kB / 0.7946 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.7114, allocations: 10.03 kB / 0.7946 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.7117, allocations: 53.5 kB / 0.7946 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.7117, allocations: 23.53 kB / 0.7946 GB, free: 43.68 MB / 0.6544 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.7119, allocations: 163.3 kB / 0.7948 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.7119, allocations: 29.34 kB / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.712, allocations: 29.39 kB / 0.7948 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.712, allocations: 3.469 kB / 0.7949 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.712, allocations: 5.5 kB / 0.7949 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.712, allocations: 2.516 kB / 0.7949 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.7123, allocations: 357.4 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7123, allocations: 0 / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.7127, allocations: 77.83 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.7127, allocations: 7.438 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.7128, allocations: 13.61 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7128, allocations: 7.406 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7128, allocations: 0.5 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009508/0.7138, allocations: 0.5837 MB / 0.7959 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.7138, allocations: 110.9 kB / 0.796 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.7139, allocations: 12.59 kB / 0.796 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.7141, allocations: 32.28 kB / 0.796 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7142, allocations: 57.73 kB / 0.7961 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.7143, allocations: 22.17 kB / 0.7961 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.857e-05/0.7143, allocations: 123.8 kB / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7144, allocations: 0 / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003307/0.7147, allocations: 80.92 kB / 0.7963 GB, free: 43.02 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.7149, allocations: 125 kB / 0.7964 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.7157, allocations: 385.5 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7157, allocations: 0.9375 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.716, allocations: 199.8 kB / 0.797 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.7163, allocations: 47.23 kB / 0.797 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.7174, allocations: 0.5939 MB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.7176, allocations: 0.7605 MB / 0.7983 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.7177, allocations: 40.59 kB / 0.7984 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.7178, allocations: 38.77 kB / 0.7984 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7178, allocations: 0 / 0.7984 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.009374/0.7272, allocations: 3.919 MB / 0.8022 GB, free: 41.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)