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.001542/0.001542, allocations: 104.3 kB / 16.36 MB, free: 6.301 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.001655/0.001655, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.00149/0.00149, allocations: 67.89 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 114.6 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003018/0.2288, allocations: 1.959 MB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2299, allocations: 0.6904 MB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.23, allocations: 4 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.512e-05/0.2301, allocations: 15.75 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2302, allocations: 39.58 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2306, allocations: 155.7 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3816/0.6123, allocations: 324.8 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.6125, allocations: 46.2 kB / 0.788 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.6129, allocations: 135.6 kB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.613, allocations: 148.9 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.6131, allocations: 30.25 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.26e-05/0.6132, allocations: 33.09 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.6132, allocations: 77.75 kB / 0.7884 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.6133, allocations: 132.3 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.6136, allocations: 305.8 kB / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6136, allocations: 0 / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6136, allocations: 0 / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.6137, allocations: 0.75 kB / 0.7888 GB, free: 46.49 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.00106/0.6147, allocations: 0.6264 MB / 0.7894 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.6148, allocations: 18.59 kB / 0.7894 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.6148, allocations: 28.56 kB / 0.7894 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.615, allocations: 202 kB / 0.7896 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.6151, allocations: 264.6 kB / 0.7899 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.6152, allocations: 32.09 kB / 0.7899 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.6156, allocations: 262.8 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.6156, allocations: 3 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.6157, allocations: 9.953 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6157, allocations: 5.188 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.616, allocations: 179.1 kB / 0.7904 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.6169, allocations: 0.7769 MB / 0.7911 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.6174, allocations: 203.9 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.6176, allocations: 134.9 kB / 0.7914 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.6176, allocations: 11.39 kB / 0.7914 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.6181, allocations: 310.8 kB / 0.7917 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.6181, allocations: 1.312 kB / 0.7917 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0008627/0.619, allocations: 484.2 kB / 0.7922 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.619, allocations: 115.7 kB / 0.7923 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6191, allocations: 175.6 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.6192, allocations: 41.05 kB / 0.7925 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.6192, allocations: 124.2 kB / 0.7926 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.6193, allocations: 145.4 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.6194, allocations: 108.6 kB / 0.7929 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.6195, allocations: 342.2 kB / 0.7932 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.6198, allocations: 147.1 kB / 0.7934 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.6201, allocations: 255.5 kB / 0.7936 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/0.6206, allocations: 398.2 kB / 0.794 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.6206, allocations: 0 / 0.794 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006823/0.6213, allocations: 491.1 kB / 0.7944 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6213, allocations: 12.44 kB / 0.7945 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6213, allocations: 0 / 0.7945 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.6213, allocations: 10 kB / 0.7945 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.6217, allocations: 93.19 kB / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.6217, allocations: 13.72 kB / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.6219, allocations: 56.48 kB / 0.7946 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.622, allocations: 23.5 kB / 0.7946 GB, free: 43.79 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.0001267/0.6221, allocations: 160.3 kB / 0.7948 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.6222, allocations: 25.72 kB / 0.7948 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.6222, allocations: 34.97 kB / 0.7949 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6222, allocations: 3.656 kB / 0.7949 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.6223, allocations: 7.281 kB / 0.7949 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6223, allocations: 2.719 kB / 0.7949 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.6225, allocations: 360.2 kB / 0.7952 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6225, allocations: 0 / 0.7952 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.6229, allocations: 79.47 kB / 0.7953 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.6229, allocations: 8.5 kB / 0.7953 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.623, allocations: 16.12 kB / 0.7953 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.623, allocations: 0 / 0.7953 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.623, allocations: 3.469 kB / 0.7953 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.6238, allocations: 0.5779 MB / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.6239, allocations: 107.6 kB / 0.796 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.6239, allocations: 13.2 kB / 0.796 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.6242, allocations: 36.61 kB / 0.796 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.6243, allocations: 38.42 kB / 0.7961 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.6243, allocations: 17.2 kB / 0.7961 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.6244, allocations: 128.7 kB / 0.7962 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6244, allocations: 0 / 0.7962 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002853/0.6247, allocations: 78.69 kB / 0.7963 GB, free: 43.14 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.0001445/0.6248, allocations: 123.3 kB / 0.7964 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.6254, allocations: 386.8 kB / 0.7968 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6254, allocations: 3.938 kB / 0.7968 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.6258, allocations: 180 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.6261, allocations: 51.2 kB / 0.797 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.6271, allocations: 0.6262 MB / 0.7976 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.6273, allocations: 0.7648 MB / 0.7983 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.6274, allocations: 38.27 kB / 0.7984 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6274, allocations: 0.5625 kB / 0.7984 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.007171/0.6346, allocations: 3.976 MB / 0.8023 GB, free: 41.78 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)