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.001598/0.001598, allocations: 103.5 kB / 16.29 MB, free: 6.43 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.001697/0.001697, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.737/1.737, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 2.015/2.015, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001701/0.001701, allocations: 68.47 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 114.6 MB / 0.7841 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003684/0.2563, allocations: 1.945 MB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2578, allocations: 0.6904 MB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.2581, allocations: 4 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.241e-05/0.2582, allocations: 19.73 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.2584, allocations: 47.52 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.259, allocations: 151.7 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.2595, allocations: 319.1 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2597, allocations: 44.39 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.2599, allocations: 139.6 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.2601, allocations: 147.4 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.2602, allocations: 32 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.73e-05/0.2602, allocations: 28 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.2603, allocations: 71.8 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2604, allocations: 139.3 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.524/0.7845, allocations: 301.8 kB / 0.7881 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7845, allocations: 0.9375 kB / 0.7881 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7845, allocations: 0 / 0.7881 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.7846, allocations: 0.6562 kB / 0.7881 GB, free: 46.31 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.001115/0.7857, allocations: 0.625 MB / 0.7887 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7857, allocations: 10.12 kB / 0.7887 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.7858, allocations: 30.53 kB / 0.7887 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.008e-05/0.7859, allocations: 202.1 kB / 0.7889 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.7861, allocations: 264.6 kB / 0.7892 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.7861, allocations: 37.58 kB / 0.7892 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.7865, allocations: 266.1 kB / 0.7894 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.7866, allocations: 2.625 kB / 0.7894 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.7866, allocations: 6.844 kB / 0.7895 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7866, allocations: 6 kB / 0.7895 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.787, allocations: 182.3 kB / 0.7896 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.7879, allocations: 0.7706 MB / 0.7904 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.7883, allocations: 218.7 kB / 0.7906 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.7885, allocations: 125.9 kB / 0.7907 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.7886, allocations: 12.88 kB / 0.7907 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.7891, allocations: 313.4 kB / 0.791 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 1.893e-06/0.7891, allocations: 2.625 kB / 0.791 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0008939/0.79, allocations: 487.3 kB / 0.7915 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.79, allocations: 110.7 kB / 0.7916 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.7902, allocations: 177.6 kB / 0.7918 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.7902, allocations: 42.25 kB / 0.7918 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.7903, allocations: 122.9 kB / 0.7919 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.7904, allocations: 148.4 kB / 0.7921 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.7905, allocations: 107.1 kB / 0.7922 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.7906, allocations: 341 kB / 0.7925 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.7909, allocations: 143.9 kB / 0.7926 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.7912, allocations: 264.9 kB / 0.7929 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.7917, allocations: 395.3 kB / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7917, allocations: 0 / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006728/0.7924, allocations: 488.1 kB / 0.7937 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7924, allocations: 10.72 kB / 0.7937 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7924, allocations: 4.406 kB / 0.7937 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7925, allocations: 9.688 kB / 0.7938 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.7928, allocations: 94.11 kB / 0.7938 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.7928, allocations: 9.219 kB / 0.7939 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.7931, allocations: 56.28 kB / 0.7939 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.7931, allocations: 26.72 kB / 0.7939 GB, free: 43.64 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.0001213/0.7932, allocations: 157.8 kB / 0.7941 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.7933, allocations: 30.47 kB / 0.7941 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.7934, allocations: 30.58 kB / 0.7941 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7934, allocations: 6.781 kB / 0.7941 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7934, allocations: 3.344 kB / 0.7941 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.7934, allocations: 6.375 kB / 0.7942 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.7937, allocations: 353.3 kB / 0.7945 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7937, allocations: 0 / 0.7945 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.7941, allocations: 79.7 kB / 0.7946 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7941, allocations: 3.938 kB / 0.7946 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.7941, allocations: 15.23 kB / 0.7946 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.7941, allocations: 0 / 0.7946 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7941, allocations: 7.188 kB / 0.7946 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.795, allocations: 0.58 MB / 0.7952 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.7951, allocations: 113.8 kB / 0.7953 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.7951, allocations: 11.84 kB / 0.7953 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.7953, allocations: 31.03 kB / 0.7953 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.7955, allocations: 56.03 kB / 0.7954 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.7955, allocations: 14.31 kB / 0.7954 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.7956, allocations: 131.5 kB / 0.7955 GB, free: 43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7956, allocations: 3.469 kB / 0.7955 GB, free: 43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002955/0.7959, allocations: 88.48 kB / 0.7956 GB, free: 43 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.0001459/0.796, allocations: 114.6 kB / 0.7957 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.7967, allocations: 387.5 kB / 0.7961 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7967, allocations: 0 / 0.7961 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.797, allocations: 205.5 kB / 0.7963 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.7973, allocations: 57.27 kB / 0.7963 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.7983, allocations: 0.595 MB / 0.7969 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.7984, allocations: 0.7686 MB / 0.7977 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.7986, allocations: 35.84 kB / 0.7977 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.7987, allocations: 37.42 kB / 0.7977 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.7987, allocations: 0.8438 kB / 0.7977 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.008302/0.807, allocations: 4.011 MB / 0.8016 GB, free: 41.75 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)