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.001536/0.001536, allocations: 101.2 kB / 16.27 MB, free: 6.418 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.001844/0.001845, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.629/1.629, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.845/1.845, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.002335/0.002335, allocations: 68.47 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2739, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004697/0.2786, allocations: 1.955 MB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2799, allocations: 0.6905 MB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.28, allocations: 0 / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.983e-05/0.2801, allocations: 23.67 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.2803, allocations: 43.58 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2808, allocations: 151.7 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2811, allocations: 323.1 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2813, allocations: 48.36 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2815, allocations: 127.7 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2817, allocations: 159.3 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.2818, allocations: 28 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.2818, allocations: 32 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.2819, allocations: 75.78 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.282, allocations: 131.4 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4146/0.6967, allocations: 302.3 kB / 0.788 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6967, allocations: 0 / 0.788 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6967, allocations: 2.688 kB / 0.788 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.6968, allocations: 0 / 0.788 GB, free: 46.2 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.001134/0.6979, allocations: 0.6217 MB / 0.7886 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.698, allocations: 8.812 kB / 0.7886 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.698, allocations: 29.97 kB / 0.7887 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.6982, allocations: 203.4 kB / 0.7889 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.6984, allocations: 266.4 kB / 0.7891 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.6984, allocations: 35.58 kB / 0.7891 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.6989, allocations: 261.9 kB / 0.7894 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.6989, allocations: 1.5 kB / 0.7894 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.6989, allocations: 9.359 kB / 0.7894 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6989, allocations: 6.375 kB / 0.7894 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.6993, allocations: 179 kB / 0.7896 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.7002, allocations: 0.7756 MB / 0.7903 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.7007, allocations: 201.5 kB / 0.7905 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.701, allocations: 132.1 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.701, allocations: 12.09 kB / 0.7907 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000586/0.7016, allocations: 311.2 kB / 0.791 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.265e-06/0.7016, allocations: 0.9688 kB / 0.791 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009052/0.7025, allocations: 497.8 kB / 0.7914 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.7026, allocations: 111.4 kB / 0.7915 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.7027, allocations: 172.6 kB / 0.7917 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.7028, allocations: 43.89 kB / 0.7918 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.7028, allocations: 119 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.7029, allocations: 153.4 kB / 0.792 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.703, allocations: 101.5 kB / 0.7921 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.7031, allocations: 343.6 kB / 0.7924 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.7034, allocations: 151.1 kB / 0.7926 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.7037, allocations: 256 kB / 0.7928 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.7042, allocations: 401 kB / 0.7932 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7042, allocations: 0.9062 kB / 0.7932 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006872/0.7049, allocations: 488.5 kB / 0.7937 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7049, allocations: 10.84 kB / 0.7937 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.705, allocations: 4.625 kB / 0.7937 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.705, allocations: 9.656 kB / 0.7937 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.7053, allocations: 92.23 kB / 0.7938 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.7054, allocations: 11.62 kB / 0.7938 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.7056, allocations: 56.09 kB / 0.7939 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.7056, allocations: 22.08 kB / 0.7939 GB, free: 43.52 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.0001302/0.7058, allocations: 161.2 kB / 0.794 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.7058, allocations: 33.69 kB / 0.7941 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.7059, allocations: 31.5 kB / 0.7941 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7059, allocations: 5.25 kB / 0.7941 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7059, allocations: 2.625 kB / 0.7941 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.7059, allocations: 4.266 kB / 0.7941 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.7062, allocations: 352.2 kB / 0.7944 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7062, allocations: 1.969 kB / 0.7944 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.7066, allocations: 76.11 kB / 0.7945 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.7066, allocations: 10.69 kB / 0.7945 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.7066, allocations: 14.97 kB / 0.7945 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7067, allocations: 3.469 kB / 0.7945 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7067, allocations: 0 / 0.7945 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.7075, allocations: 0.5822 MB / 0.7951 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.7076, allocations: 107.6 kB / 0.7952 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.7077, allocations: 19.2 kB / 0.7952 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.7079, allocations: 26.89 kB / 0.7953 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.708, allocations: 40.38 kB / 0.7953 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.708, allocations: 17.5 kB / 0.7953 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.7081, allocations: 129.3 kB / 0.7954 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7081, allocations: 0 / 0.7954 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002937/0.7084, allocations: 83.89 kB / 0.7955 GB, free: 42.89 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.0001493/0.7085, allocations: 122.9 kB / 0.7956 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006899/0.7092, allocations: 399.1 kB / 0.796 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7092, allocations: 0 / 0.796 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.7096, allocations: 190.8 kB / 0.7962 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.7099, allocations: 56.62 kB / 0.7962 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.7109, allocations: 0.6299 MB / 0.7969 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.711, allocations: 0.7675 MB / 0.7976 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7112, allocations: 35.34 kB / 0.7976 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.7112, allocations: 2.781 kB / 0.7976 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.006656/0.7178, allocations: 3.967 MB / 0.8015 GB, free: 41.53 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)